| 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);
|
|
|
| + // Set the flag indicating whether an import process will be run. If
|
| + // |will_import| is false, notify the NotificationService that |profile| has
|
| + // finished its import process. If |will_import| is false, |profile| is
|
| + // required to be non-NULL.
|
| + void SetWillImport(bool will_import, Profile* profile);
|
| + bool will_import() { return will_import_; }
|
| +
|
| // ------------------ 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;
|
|
|