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