Chromium Code Reviews| 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,6 +167,9 @@ |
| // Checks if multiple profiles is enabled. |
| static bool IsMultipleProfilesEnabled(); |
| + // Register and add testing profile to the ProfileManager. |
|
Robert Sesek
2011/08/18 15:00:28
Add a scary comment about how this is only for use
Miranda Callahan
2011/08/18 15:08:35
Done.
|
| + void RegisterTestingProfile(Profile* profile, bool created); |
| + |
| protected: |
| // Does final initial actions. |
| virtual void DoFinalInit(Profile* profile, bool go_off_the_record); |