Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5494)

Unified Diff: chrome/browser/geolocation/wifi_data_provider_common_win.h

Issue 543174: Update Gears wifi data providers to Chrome style & APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/geolocation/wifi_data_provider_common_win.h
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_common_win.h (revision 0)
+++ chrome/browser/geolocation/wifi_data_provider_common_win.h (revision 0)
@@ -0,0 +1,20 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
+#define CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
+
+#include <windows.h>
+#include <ntddndis.h>
+#include <vector>
+#include "chrome/browser/geolocation/device_data_provider.h"
+
+// Extracts access point data from the NDIS_802_11_BSSID_LIST structure and
+// appends it to the data vector. Returns the number of access points for which
+// data was extracted.
+int GetDataFromBssIdList(const NDIS_802_11_BSSID_LIST& bss_id_list,
+ int list_size,
+ WifiData::AccessPointDataSet* data);
+
+#endif // CHROME_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
« no previous file with comments | « chrome/browser/geolocation/wifi_data_provider_common.cc ('k') | chrome/browser/geolocation/wifi_data_provider_common_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698