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 8df557cf191b8d0be2b143d027b2cd1740b0d863..0a33278e2172e32d349e02e116869e901bddfc1d 100644 |
--- a/chrome/browser/ui/webui/options/create_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/create_profile_handler.cc |
@@ -23,7 +23,6 @@ |
#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
#include "chrome/browser/ui/webui/options/options_handlers_helper.h" |
-#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -412,11 +411,6 @@ bool CreateProfileHandler::IsValidExistingManagedUserId( |
if (existing_managed_user_id.empty()) |
return true; |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDisableCreateExistingManagedUsers)) { |
- return false; |
- } |
- |
Profile* profile = Profile::FromWebUI(web_ui()); |
const base::DictionaryValue* dict = |
ManagedUserSyncServiceFactory::GetForProfile(profile)->GetManagedUsers(); |