| Index: chrome/browser/profiles/profile_manager.h
|
| ===================================================================
|
| --- chrome/browser/profiles/profile_manager.h (revision 97284)
|
| +++ chrome/browser/profiles/profile_manager.h (working copy)
|
| @@ -30,7 +30,7 @@
|
| class ProfileManagerObserver {
|
| public:
|
| enum Status {
|
| - // So epic.
|
| + // Profile creation has failed.
|
| STATUS_FAIL,
|
| // Profile created but before initializing extensions and promo resources.
|
| STATUS_CREATED,
|
| @@ -167,13 +167,16 @@
|
| // Checks if multiple profiles is enabled.
|
| static bool IsMultipleProfilesEnabled();
|
|
|
| + // Register and add testing profile to the ProfileManager. Use ONLY in tests!
|
| + // This allows the creation of Profiles outside of the standard creation path
|
| + // for testing only. If |addToCache|, add to ProfileInfoCache as well.
|
| + void RegisterTestingProfile(Profile* profile, bool addToCache);
|
| +
|
| protected:
|
| // Does final initial actions.
|
| virtual void DoFinalInit(Profile* profile, bool go_off_the_record);
|
|
|
| private:
|
| - friend class ExtensionEventRouterForwarderTest;
|
| -
|
| // This struct contains information about profiles which are being loaded or
|
| // were loaded.
|
| struct ProfileInfo {
|
|
|