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

Unified Diff: chrome/browser/ui/webui/options/create_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
Index: chrome/browser/ui/webui/options/create_profile_handler.cc
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.cc b/chrome/browser/ui/webui/options/create_profile_handler.cc
index b991316fbefcabb42da76c336cde7610d3064265..8df557cf191b8d0be2b143d027b2cd1740b0d863 100644
--- a/chrome/browser/ui/webui/options/create_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/create_profile_handler.cc
@@ -412,8 +412,8 @@ bool CreateProfileHandler::IsValidExistingManagedUserId(
if (existing_managed_user_id.empty())
return true;
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAllowCreateExistingManagedUsers)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableCreateExistingManagedUsers)) {
return false;
}
« no previous file with comments | « chrome/browser/resources/options/options.js ('k') | chrome/browser/ui/webui/options/manage_profile_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698