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