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

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

Issue 8565032: Fixing ProfileManagerTest to use the TestingProfile instead of a real profile. This will allow ea... (Closed) Base URL: svn://chrome-svn/chrome/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 111700)
+++ chrome/browser/profiles/profile_manager.h (working copy)
@@ -208,9 +208,17 @@
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);
+ // Creates a new profile by calling into the profile's profile creation
+ // method. Virtual so that unittests can return a TestingProfile instead
+ // of the Profile's result.
+ virtual Profile* CreateProfileHelper(const FilePath& path);
+ // Creates a new profile asynchronously by calling into the profile's
+ // asynchronous profile creation method. Virtual so that unittests can return
+ // a TestingProfile instead of the Profile's result.
+ virtual Profile* CreateProfileAsyncHelper(const FilePath& path,
+ Delegate* delegate);
+
private:
friend class TestingProfileManager;
FRIEND_TEST_ALL_PREFIXES(ProfileManagerBrowserTest, DeleteAllProfiles);
« 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