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

Side by Side Diff: components/metrics/net/wifi_access_point_info_provider.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_H_ 5 #ifndef COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_H_
6 #define COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_H_ 6 #define COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/basictypes.h" 9
10 #include "base/macros.h"
10 11
11 namespace metrics { 12 namespace metrics {
12 13
13 // Interface for accessing connected wireless access point information. 14 // Interface for accessing connected wireless access point information.
14 class WifiAccessPointInfoProvider { 15 class WifiAccessPointInfoProvider {
15 public: 16 public:
16 // Wifi access point security mode definitions. 17 // Wifi access point security mode definitions.
17 enum WifiSecurityMode { 18 enum WifiSecurityMode {
18 WIFI_SECURITY_UNKNOWN = 0, 19 WIFI_SECURITY_UNKNOWN = 0,
19 WIFI_SECURITY_WPA = 1, 20 WIFI_SECURITY_WPA = 1,
(...skipping 24 matching lines...) Expand all
44 // point, false otherwise. 45 // point, false otherwise.
45 virtual bool GetInfo(WifiAccessPointInfo *info); 46 virtual bool GetInfo(WifiAccessPointInfo *info);
46 47
47 private: 48 private:
48 DISALLOW_COPY_AND_ASSIGN(WifiAccessPointInfoProvider); 49 DISALLOW_COPY_AND_ASSIGN(WifiAccessPointInfoProvider);
49 }; 50 };
50 51
51 } // namespace metrics 52 } // namespace metrics
52 53
53 #endif // COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_H_ 54 #endif // COMPONENTS_METRICS_NET_WIFI_ACCESS_POINT_INFO_PROVIDER_H_
OLDNEW
« no previous file with comments | « components/metrics/net/network_metrics_provider.cc ('k') | components/metrics/net/wifi_access_point_info_provider_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698