| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_H_ |
| 6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 13 | 12 |
| 14 namespace content { | 13 namespace content { |
| 15 | 14 |
| 16 // Wifi data relating to a single access point. | 15 // Wifi data relating to a single access point. |
| 17 struct CONTENT_EXPORT AccessPointData { | 16 struct CONTENT_EXPORT AccessPointData { |
| 18 AccessPointData(); | 17 AccessPointData(); |
| 19 ~AccessPointData(); | 18 ~AccessPointData(); |
| 20 | 19 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 45 | 44 |
| 46 // Store access points as a set, sorted by MAC address. This allows quick | 45 // Store access points as a set, sorted by MAC address. This allows quick |
| 47 // comparison of sets for detecting changes and for caching. | 46 // comparison of sets for detecting changes and for caching. |
| 48 typedef std::set<AccessPointData, AccessPointDataLess> AccessPointDataSet; | 47 typedef std::set<AccessPointData, AccessPointDataLess> AccessPointDataSet; |
| 49 AccessPointDataSet access_point_data; | 48 AccessPointDataSet access_point_data; |
| 50 }; | 49 }; |
| 51 | 50 |
| 52 } // namespace content | 51 } // namespace content |
| 53 | 52 |
| 54 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_H_ | 53 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_H_ |
| OLD | NEW |