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 /chromeos/dbus/fake_shill_manager_client.h | |
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 'chromeos/dbus/fake_shill_manager_client.h')
-rw-r--r-- | chromeos/dbus/fake_shill_manager_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/dbus/fake_shill_manager_client.h b/chromeos/dbus/fake_shill_manager_client.h index 92f80e2..b21b2a1 100644 --- a/chromeos/dbus/fake_shill_manager_client.h +++ b/chromeos/dbus/fake_shill_manager_client.h @@ -141,6 +141,10 @@ class CHROMEOS_EXPORT FakeShillManagerClient // Initial state for fake services. std::map<std::string, std::string> shill_initial_state_map_; + + // Roaming state for fake cellular service. + std::string roaming_state_; + typedef std::map<std::string, base::Value*> ShillPropertyMap; typedef std::map<std::string, ShillPropertyMap> DevicePropertyMap; DevicePropertyMap shill_device_property_map_; |