OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ |
6 #define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <ntddndis.h> | 9 #include <ntddndis.h> |
10 | 10 |
11 #include "device/geolocation/wifi_data_provider.h" | 11 #include "content/browser/geolocation/wifi_data_provider.h" |
12 | 12 |
13 namespace device { | 13 namespace content { |
14 | 14 |
15 // Extracts access point data from the NDIS_802_11_BSSID_LIST structure and | 15 // Extracts access point data from the NDIS_802_11_BSSID_LIST structure and |
16 // appends it to the data vector. Returns the number of access points for which | 16 // appends it to the data vector. Returns the number of access points for which |
17 // data was extracted. | 17 // data was extracted. |
18 int GetDataFromBssIdList(const NDIS_802_11_BSSID_LIST& bss_id_list, | 18 int GetDataFromBssIdList(const NDIS_802_11_BSSID_LIST& bss_id_list, |
19 int list_size, | 19 int list_size, |
20 WifiData::AccessPointDataSet* data); | 20 WifiData::AccessPointDataSet* data); |
21 | 21 |
22 } // namespace device | 22 } // namespace content |
23 | 23 |
24 #endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ | 24 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ |
OLD | NEW |