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

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

Issue 847733005: Move User Manager onto a System profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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 52f357f22e3891019a625437a96d4172c4f7f167..e051379301cb467a56d6233f8efe23c64d395eef 100644
--- a/chrome/test/base/testing_profile_manager.h
+++ b/chrome/test/base/testing_profile_manager.h
@@ -67,6 +67,13 @@ class TestingProfileManager {
// The subsystem owns the Profile and returns a weak pointer.
TestingProfile* CreateGuestProfile();
+ // Creates a new system TestingProfile whose data lives in the system 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* CreateSystemProfile();
+
// Deletes a TestingProfile from the profile subsystem.
void DeleteTestingProfile(const std::string& profile_name);
@@ -77,6 +84,9 @@ class TestingProfileManager {
// Deletes a guest TestingProfile from the profile manager.
void DeleteGuestProfile();
+ // Deletes a system TestingProfile from the profile manager.
+ void DeleteSystemProfile();
+
// Deletes the cache instance. This is useful for testing that the cache is
// properly persisting data.
void DeleteProfileInfoCache();
« 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