Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(380)

Unified Diff: components/wifi/fake_wifi_service.cc

Issue 708563005: Use setProperties for IP Config. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430113_internet_options_1
Patch Set: Fix win/mac test expectations Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/onc/onc_translator_onc_to_shill.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/fake_wifi_service.cc
diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc
index e1adce0b3c0111bca40335dcf0da1d4c2665b33c..7c805b554d2e51b208226204be5a4e94b080cbbc 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]"
« no previous file with comments | « chromeos/network/onc/onc_translator_onc_to_shill.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698