Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: chrome/browser/profiles/profile_manager.h

Issue 7780031: Fix sync test crashing when multiprofiles are enabled on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_manager.h
===================================================================
--- chrome/browser/profiles/profile_manager.h (revision 100650)
+++ chrome/browser/profiles/profile_manager.h (working copy)
@@ -173,6 +173,11 @@
// 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. 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);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | chrome/browser/profiles/profile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698