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

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

Issue 535283002: Translate activation/romaing state, restricted pool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_279351_internet_options_7b
Patch Set: Only set RestrictedConnectivity if true, fix tests Created 6 years, 3 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/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 91fdc84c65d2a95ecde021ad59003670e9efc18b..29b4c103f34c4b9c36925a338424cf1bfba06604 100644
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc
@@ -125,7 +125,6 @@ const char kShowMorePlanInfoMessage[] = "showMorePlanInfo";
// These are strings used to communicate with JavaScript.
const char kTagActivate[] = "activate";
-const char kTagActivationState[] = "activationState";
const char kTagAddConnection[] = "add";
const char kTagCarrierSelectFlag[] = "showCarrierSelect";
const char kTagCarrierUrl[] = "carrierUrl";
@@ -147,8 +146,6 @@ const char kTagRecommended[] = "recommended";
const char kTagRecommendedValue[] = "recommendedValue";
const char kTagRemembered[] = "remembered";
const char kTagRememberedList[] = "rememberedList";
-const char kTagRestrictedPool[] = "restrictedPool";
-const char kTagRoamingState[] = "roamingState";
const char kTagCarriers[] = "carriers";
const char kTagCurrentCarrierIndex[] = "currentCarrierIndex";
const char kTagShared[] = "shared";
@@ -471,16 +468,6 @@ void PopulateCellularDetails(const NetworkState* cellular,
dictionary->SetBoolean(kTagCarrierSelectFlag,
CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kEnableCarrierSwitching));
- // Cellular network / connection settings.
- dictionary->SetString(kTagActivationState,
- internet_options_strings::ActivationStateString(
- cellular->activation_state()));
- dictionary->SetString(kTagRoamingState,
- internet_options_strings::RoamingStateString(
- cellular->roaming()));
- dictionary->SetString(kTagRestrictedPool,
- internet_options_strings::RestrictedStateString(
- cellular->connection_state()));
// These default to empty and are only set if device != NULL.
std::string carrier_id;

Powered by Google App Engine
This is Rietveld 408576698