From d97aaeeea89b28d50f76fa394231594897549150 Mon Sep 17 00:00:00 2001 From: stevenjb Date: Thu, 8 Jan 2015 14:40:59 -0800 Subject: Use setProperties for IP Config. This changes the settings UI to use networkingPrivate.setProperties for setting IP config related properties. It is dependent on the ONC changes in https://codereview.chromium.org/749013003/. BUG=430113 For components/wifi/fake_wifi_service.cc (test expecations): TBR=mef@chromium.org Review URL: https://codereview.chromium.org/708563005 Cr-Commit-Position: refs/heads/master@{#310617} --- components/wifi/fake_wifi_service.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'components') diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc index e1adce0..7c805b5 100644 --- a/components/wifi/fake_wifi_service.cc +++ b/components/wifi/fake_wifi_service.cc @@ -26,12 +26,17 @@ FakeWiFiService::FakeWiFiService() { 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]" -- cgit v1.1