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

Unified Diff: chrome/browser/ui/webui/options/manage_profile_handler.cc

Issue 143903021: Add disable flag around supervised user import code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nit. Created 6 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/browser/ui/webui/options/manage_profile_browsertest.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/manage_profile_handler.cc
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc
index 9793153651d0cc5339ab63af602f36d02288c5f9..b2fd4cc72dfc5c85224486e862c5bce16c6b4618 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
@@ -122,9 +122,9 @@ void ManageProfileHandler::GetLocalizedValues(
ProfileShortcutManager::IsFeatureEnabled());
localized_strings->SetBoolean(
- "allowCreateExistingManagedUsers",
+ "disableCreateExistingManagedUsers",
CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAllowCreateExistingManagedUsers));
+ switches::kDisableCreateExistingManagedUsers));
}
void ManageProfileHandler::InitializeHandler() {
« no previous file with comments | « chrome/browser/ui/webui/options/manage_profile_browsertest.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698