diff options
author | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-16 03:16:53 +0000 |
---|---|---|
committer | stevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-16 03:16:53 +0000 |
commit | 21e74460f5b7cfe6f622557b20d40eecf3b8e98b (patch) | |
tree | d4dc2cc65a15a95957429c70292b816bb1f92051 /chrome/browser/chromeos/cros/cros_mock.h | |
parent | 2a524d2f49f86d019815025b43e98bb16e64857e (diff) | |
download | chromium_src-21e74460f5b7cfe6f622557b20d40eecf3b8e98b.zip chromium_src-21e74460f5b7cfe6f622557b20d40eecf3b8e98b.tar.gz chromium_src-21e74460f5b7cfe6f622557b20d40eecf3b8e98b.tar.bz2 |
chromium-os:5494 Networks with identical names not handled properly.
Changed lookups based on name to use service_path instead.
Added wifi_network() and cellular_network() to network_library and removed wifi_name, wifi_strength, celular_name, cellular_service_path, and cellular_strength to simplify API.
BUG=chromium-os:5495
TEST=Network menu tests. Set up two networks with the same name, one encrypted and one not. Confirm that all operations on each work as expected.
Review URL: http://codereview.chromium.org/3744009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/cros/cros_mock.h')
-rw-r--r-- | chrome/browser/chromeos/cros/cros_mock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/cros/cros_mock.h b/chrome/browser/chromeos/cros/cros_mock.h index f38081d..c39843e 100644 --- a/chrome/browser/chromeos/cros/cros_mock.h +++ b/chrome/browser/chromeos/cros/cros_mock.h @@ -103,7 +103,9 @@ class CrosMock { MockTouchpadLibrary* mock_touchpad_library_; ImePropertyList ime_properties_; + WifiNetwork wifi_network_; WifiNetworkVector wifi_networks_; + CellularNetwork cellular_network_; CellularNetworkVector cellular_networks_; std::string empty_string_; |