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

Unified Diff: chrome/test/base/testing_profile_manager.h

Issue 239543012: The User Manager should be backed by a special profile, not the guest one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nico's comment + fix tests Created 6 years, 8 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
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile_manager.h
diff --git a/chrome/test/base/testing_profile_manager.h b/chrome/test/base/testing_profile_manager.h
index b4c1dda39d3197ce30a4a4719699b218f657d498..be7836f4fdb8a7839c6f35fe2639fd794157c758 100644
--- a/chrome/test/base/testing_profile_manager.h
+++ b/chrome/test/base/testing_profile_manager.h
@@ -67,11 +67,18 @@ class TestingProfileManager {
// The subsystem owns the Profile and returns a weak pointer.
TestingProfile* CreateGuestProfile();
+ // Creates a TestingProfile whose data lives in the User Manager profile
+ // test environment directory, as specified by the profile manager.
+ // This profile will not be added to the ProfileInfoCache. This will
+ // register the TestingProfile with the profile subsystem as well.
+ // The subsystem owns the Profile and returns a weak pointer.
+ TestingProfile* CreateUserManagerProfile();
+
// Deletes a TestingProfile from the profile subsystem.
void DeleteTestingProfile(const std::string& profile_name);
- // Deletes a guest TestingProfile from the profile manager.
- void DeleteGuestProfile();
+ // Deletes a TestingProfile with |path| from the profile subsystem.
+ void DeleteProfileWithPath(const base::FilePath& path);
// Deletes the cache instance. This is useful for testing that the cache is
// properly persisting data.
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/test/base/testing_profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698