diff options
author | stevenjb <stevenjb@chromium.org> | 2015-02-19 12:23:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-19 20:23:59 +0000 |
commit | 813326fdc8dff24091cd7b8def4f65142e1af07f (patch) | |
tree | 3b1cabe76c95643d12aca2db97fbc3d0dccee09b /components/wifi/fake_wifi_service.cc | |
parent | c4dcbb42d9e58392456eb1a9984b4bd0c3f7e565 (diff) | |
download | chromium_src-813326fdc8dff24091cd7b8def4f65142e1af07f.zip chromium_src-813326fdc8dff24091cd7b8def4f65142e1af07f.tar.gz chromium_src-813326fdc8dff24091cd7b8def4f65142e1af07f.tar.bz2 |
Separate networkingPrivate ServiceClient API test expectations
Maintaining the test expectations across two very different
implementations is challenging at best. Separate the test expectations.
BUG=371442
Review URL: https://codereview.chromium.org/929793007
Cr-Commit-Position: refs/heads/master@{#317123}
Diffstat (limited to 'components/wifi/fake_wifi_service.cc')
-rw-r--r-- | components/wifi/fake_wifi_service.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc index 7246d9b..a35d002 100644 --- a/components/wifi/fake_wifi_service.cc +++ b/components/wifi/fake_wifi_service.cc @@ -5,7 +5,6 @@ #include "components/wifi/fake_wifi_service.h" #include "base/bind.h" -#include "base/json/json_reader.h" #include "base/message_loop/message_loop.h" #include "components/onc/onc_constants.h" @@ -23,25 +22,6 @@ FakeWiFiService::FakeWiFiService() { network_properties.ssid = "wifi1"; network_properties.security = onc::wifi::kWEP_PSK; network_properties.signal_strength = 40; - network_properties.json_extra = - "{" - " \"MacAddress\": \"00:11:22:AA:BB:CC\"," - " \"IPAddressConfigType\": \"Static\"," - " \"IPConfigs\": [{" - " \"Gateway\": \"0.0.0.1\"," - " \"IPAddress\": \"0.0.0.0\"," - " \"RoutingPrefix\": 0," - " \"Type\": \"IPv4\"" - " }]," - " \"StaticIPConfig\": {" - " \"IPAddress\": \"1.2.3.4\"," - " \"Type\": \"IPv4\"" - " }," - " \"WiFi\": {" - " \"Frequency\": 2400," - " \"FrequencyList\": [2400]" - " }" - "}"; networks_.push_back(network_properties); } { |