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

Unified Diff: chrome/browser/extensions/extension_service_test_base.cc

Issue 316863002: Rename "managed (mode|user)" to "supervised user" (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: chrome/browser/extensions/extension_service_test_base.cc
diff --git a/chrome/browser/extensions/extension_service_test_base.cc b/chrome/browser/extensions/extension_service_test_base.cc
index 0413fa3bf2a6574ea78d8b6fd3d446b75fe269f4..89548cc6c48ac8e1fc24a71443cbe0ad31a33579 100644
--- a/chrome/browser/extensions/extension_service_test_base.cc
+++ b/chrome/browser/extensions/extension_service_test_base.cc
@@ -52,8 +52,8 @@ scoped_ptr<TestingProfile> BuildTestingProfile(
profile_builder.SetPrefService(prefs.Pass());
}
- if (params.profile_is_managed)
- profile_builder.SetManagedUserId("asdf");
+ if (params.profile_is_supervised)
+ profile_builder.SetSupervisedUserId("asdf");
profile_builder.SetPath(params.profile_path);
return profile_builder.Build();
@@ -63,7 +63,9 @@ scoped_ptr<TestingProfile> BuildTestingProfile(
ExtensionServiceTestBase::ExtensionServiceInitParams::
ExtensionServiceInitParams()
- : autoupdate_enabled(false), is_first_run(true), profile_is_managed(false) {
+ : autoupdate_enabled(false),
+ is_first_run(true),
+ profile_is_supervised(false) {
}
// Our message loop may be used in tests which require it to be an IO loop.
« no previous file with comments | « chrome/browser/extensions/extension_service_test_base.h ('k') | chrome/browser/extensions/external_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698