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

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
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 DoFinalInitForServices(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 DoFinalInitForServices(Profile*, bool) OVERRIDE {}
+ virtual void DoFinalInitLogging(Profile*) OVERRIDE {}
};
#endif // CHROME_BROWSER_PROFILES_PROFILE_MANAGER_H_
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698