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

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
Index: chrome/browser/profiles/profile_manager.h
===================================================================
--- chrome/browser/profiles/profile_manager.h (revision 110703)
+++ chrome/browser/profiles/profile_manager.h (working copy)
@@ -198,9 +198,15 @@
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.
+ // Creates a new profile. Virtual so that unittests can return a
+ // TestingProfile.
virtual Profile* CreateProfile(const FilePath& path);
+ // Creates a new profile asynchronously. Virtual so that unittests can return
+ // a TestingProfile.
+ virtual Profile* CreateAsyncProfile(const FilePath& path,
Miranda Callahan 2011/11/21 15:31:31 I think making an asynchronous creation method ana
rpetterson 2011/11/21 22:59:30 I see your point. I renamed the helper functions t
+ Delegate* delegate);
+
private:
friend class TestingProfileManager;
FRIEND_TEST(ProfileManagerBrowserTest, DeleteAllProfiles);
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_manager.cc » ('j') | chrome/browser/profiles/profile_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698