create user data dir on thread that allows IO

This commit is contained in:
deepak1556 2017-12-09 22:54:37 +05:30 committed by Cheng Zhao
parent 249bd41e11
commit 5c25855ac5
2 changed files with 43 additions and 7 deletions

View file

@ -258,6 +258,11 @@ class Browser : public WindowListObserver {
void OnWindowCloseCancelled(NativeWindow* window) override;
void OnWindowAllClosed() override;
// Called after attempting to create the user data directory
// for the app.
void OnUserDataDirectoryCreated(const base::DictionaryValue& launch_info,
bool success);
// Observers of the browser.
base::ObserverList<BrowserObserver> observers_;