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

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

Issue 8502031: Refactor ProfileManager::DoFinalInit(...) to allow for a more flexible ProfileManagerWithoutInit.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 109036)
+++ chrome/browser/profiles/profile_manager.h (working copy)
@@ -195,6 +195,8 @@
protected:
// Does final initial actions.
virtual void DoFinalInit(Profile* profile, bool go_off_the_record);
+ virtual void DoFinalServicesInit(Profile* profile, bool go_off_the_record);
+ virtual void DoFinalInitLogging(Profile* profile);
// Creates a new profile. Virtual so that unittests can return TestingProfile.
virtual Profile* CreateProfile(const FilePath& path);
@@ -285,7 +287,8 @@
explicit ProfileManagerWithoutInit(const FilePath& user_data_dir);
protected:
- virtual void DoFinalInit(Profile*, bool) {}
+ virtual void DoFinalServicesInit(Profile*, bool) {}
Robert Sesek 2011/11/09 19:07:46 OVERRIDE on both of these
+ virtual void DoFinalInitLogging(Profile*) {}
Robert Sesek 2011/11/09 19:07:46 I'd standardize the naming here. Either DoFinalIni
};
#endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
« 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