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

Unified Diff: components/wifi/fake_wifi_service.cc

Issue 64683014: Mac OS X-specific implementation of Networking Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Explicitly track connected_network_guid and use it to notify network disconnect. Created 6 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
Index: components/wifi/fake_wifi_service.cc
diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc
index af78d72bffc0324e801b2deb83ca0c0397e26e8f..65d5e470a7d9ae0d70473ed2c20fe4be5bc02dca 100644
--- a/components/wifi/fake_wifi_service.cc
+++ b/components/wifi/fake_wifi_service.cc
@@ -57,8 +57,8 @@ class FakeWiFiService : public WiFiService {
network_properties.name = "wifi2_PSK";
network_properties.type = onc::network_type::kWiFi;
network_properties.frequency = 5000;
- network_properties.frequency_list.push_back(2400);
- network_properties.frequency_list.push_back(5000);
+ network_properties.frequency_set.insert(2400);
+ network_properties.frequency_set.insert(5000);
network_properties.ssid = "wifi2_PSK";
network_properties.security = onc::wifi::kWPA_PSK;
network_properties.signal_strength = 80;

Powered by Google App Engine
This is Rietveld 408576698