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

Unified Diff: chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc

Issue 827733003: Removing --enable-carrier-switching command-line flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors 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/browser/about_flags.cc ('k') | chromeos/chromeos_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/chromeos/internet_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
index 3ddda05360548aaeafa7d7e82b6b6bc30dce476f..ca7c4dbbd2635b1100437b859834ceffc9dd6eeb 100644
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
@@ -244,9 +244,7 @@ void InternetOptionsHandler::GetLocalizedValues(
bool logged_in_as_owner = LoginState::Get()->GetLoggedInUserType() ==
LoginState::LOGGED_IN_USER_OWNER;
localized_strings->SetBoolean(kLoggedInAsOwnerKey, logged_in_as_owner);
- localized_strings->SetBoolean(
- kShowCarrierSelectKey, base::CommandLine::ForCurrentProcess()->HasSwitch(
- chromeos::switches::kEnableCarrierSwitching));
+ localized_strings->SetBoolean(kShowCarrierSelectKey, false);
sky 2015/04/16 15:51:00 Is this still needed?
anujsharma 2015/04/17 13:41:05 I thought of removing it. But since "kShowCarrierS
stevenjb 2015/04/17 16:31:58 Please remove this here and from the JS, or add a
base::DictionaryValue* network_dictionary = new base::DictionaryValue;
FillNetworkInfo(network_dictionary);
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698