Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / browser / geolocation / wifi_data_provider_common_win.h
blob24973a57feb266d3f1d35ca2381c1f142ba5c2fa
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.
5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
8 #include <windows.h>
9 #include <ntddndis.h>
11 #include "content/browser/geolocation/wifi_data_provider.h"
13 namespace content {
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);
22 } // namespace content
24 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_