OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ | |
6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ | |
7 | |
8 #include <windows.h> | |
9 #include <ntddndis.h> | |
10 | |
11 #include "content/browser/geolocation/wifi_data_provider.h" | |
12 | |
13 namespace content { | |
14 | |
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 | |
17 // data was extracted. | |
18 int GetDataFromBssIdList(const NDIS_802_11_BSSID_LIST& bss_id_list, | |
19 int list_size, | |
20 WifiData::AccessPointDataSet* data); | |
21 | |
22 } // namespace content | |
23 | |
24 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_ | |
OLD | NEW |