diff options
author | stevenjb <stevenjb@chromium.org> | 2015-02-25 13:05:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-25 21:06:34 +0000 |
commit | 00f2e618c1f54ba2403aec209ef3a5431e71bc7b (patch) | |
tree | 15453afae15be29dee2f1fc5d762071f74c70423 /components/onc/onc_constants.cc | |
parent | 1692043f72ebf8834acb8d115ba5d727610420e3 (diff) | |
download | chromium_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.cc | 6 |
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"; |