summaryrefslogtreecommitdiffstats
path: root/components/onc/onc_constants.cc
diff options
context:
space:
mode:
authorstevenjb <stevenjb@chromium.org>2015-02-25 13:05:53 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-25 21:06:34 +0000
commit00f2e618c1f54ba2403aec209ef3a5431e71bc7b (patch)
tree15453afae15be29dee2f1fc5d762071f74c70423 /components/onc/onc_constants.cc
parent1692043f72ebf8834acb8d115ba5d727610420e3 (diff)
downloadchromium_src-00f2e618c1f54ba2403aec209ef3a5431e71bc7b.zip
chromium_src-00f2e618c1f54ba2403aec209ef3a5431e71bc7b.tar.gz
chromium_src-00f2e618c1f54ba2403aec209ef3a5431e71bc7b.tar.bz2
Better support for Cellular roaming state in ONC
This CL does the following: * Eliminates "ProviderRequiresRoaming" from ONC * Adds a "required" state to "RoamingState" in ONC when ProviderRequiresRoaming is true * Adds "ONC State" to chrome://network for testing networkingPrivate.getState() * Adds support for shill_stub=roaming=[home|roaming|required] to facilitate testing on Linux BUG=461163 Review URL: https://codereview.chromium.org/948943003 Cr-Commit-Position: refs/heads/master@{#318113}
Diffstat (limited to 'components/onc/onc_constants.cc')
-rw-r--r--components/onc/onc_constants.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/onc/onc_constants.cc b/components/onc/onc_constants.cc
index 06c69db..0c14f23 100644
--- a/components/onc/onc_constants.cc
+++ b/components/onc/onc_constants.cc
@@ -114,10 +114,10 @@ const char kMIN[] = "MIN";
const char kModelID[] = "ModelID";
const char kNetworkTechnology[] = "NetworkTechnology";
const char kPRLVersion[] = "PRLVersion";
-const char kProviderRequiresRoaming[] = "ProviderRequiresRoaming";
+const char kRoamingHome[] = "Home";
+const char kRoamingRequired[] = "Required";
+const char kRoamingRoaming[] = "Roaming";
const char kRoamingState[] = "RoamingState";
-const char kHome[] = "Home";
-const char kRoaming[] = "Roaming";
const char kServingOperator[] = "ServingOperator";
const char kSignalStrength[] = "SignalStrength";
const char kSIMLockStatus[] = "SIMLockStatus";