Index: chrome/browser/profiles/profile_manager.h |
=================================================================== |
--- chrome/browser/profiles/profile_manager.h (revision 97857) |
+++ chrome/browser/profiles/profile_manager.h (working copy) |
@@ -126,6 +126,13 @@ |
virtual void OnBrowserRemoved(const Browser* browser); |
virtual void OnBrowserSetLastActive(const Browser* browser); |
+ // Indicate that an import process will run for the next created Profile. |
+ void SetWillImport(); |
+ bool will_import() { return will_import_; } |
+ |
+ // Indicate that the import process for |profile| has completed. |
+ void OnImportFinished(Profile* profile); |
+ |
// ------------------ static utility functions ------------------- |
// Returns the path to the default profile directory, based on the given |
@@ -225,6 +232,9 @@ |
// default. |
bool logged_in_; |
+ // True if an import process will be run. |
+ bool will_import_; |
+ |
// Maps profile path to ProfileInfo (if profile has been created). Use |
// RegisterProfile() to add into this map. |
typedef std::map<FilePath, linked_ptr<ProfileInfo> > ProfilesInfoMap; |