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

Unified Diff: components/wifi/wifi_service.h

Issue 64683014: Mac OS X-specific implementation of Networking Private API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Made networkingPrivateApi available on OS X. Created 7 years, 1 month 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 | « components/wifi/fake_wifi_service.cc ('k') | components/wifi/wifi_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/wifi_service.h
diff --git a/components/wifi/wifi_service.h b/components/wifi/wifi_service.h
index 5ff0648c76017e2b14c6208259bf20f81d0c5d8a..165ca9c421738a7590a9bf2ec759c229c7f90aa5 100644
--- a/components/wifi/wifi_service.h
+++ b/components/wifi/wifi_service.h
@@ -6,6 +6,7 @@
#define CHROME_UTILITY_WIFI_WIFI_SERVICE_H_
#include <list>
+#include <set>
#include <string>
#include <vector>
@@ -88,7 +89,7 @@ class WIFI_EXPORT WiFiService {
kFrequency5000 = 5000
};
- typedef std::list<Frequency> FrequencyList;
+ typedef std::set<Frequency> FrequencySet;
// Network Properties, used as result of |GetProperties| and
// |GetVisibleNetworks|.
struct WIFI_EXPORT NetworkProperties {
@@ -106,7 +107,7 @@ class WIFI_EXPORT WiFiService {
uint32 signal_strength;
bool auto_connect;
Frequency frequency;
- FrequencyList frequency_list;
+ FrequencySet frequency_set;
std::string json_extra; // Extra JSON properties for unit tests
« no previous file with comments | « components/wifi/fake_wifi_service.cc ('k') | components/wifi/wifi_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698