| OLD | NEW | 
|   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  Loading... | 
|  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_ | 
| OLD | NEW |