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

Unified Diff: device/geolocation/wifi_data_provider_common_win.h

Issue 2185993003: Reland: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make geolocation.gyp a component and define DEVICE_GEOLOCATION_IMPLEMENTATION Created 4 years, 5 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: device/geolocation/wifi_data_provider_common_win.h
diff --git a/content/browser/geolocation/wifi_data_provider_common_win.h b/device/geolocation/wifi_data_provider_common_win.h
similarity index 64%
rename from content/browser/geolocation/wifi_data_provider_common_win.h
rename to device/geolocation/wifi_data_provider_common_win.h
index 24973a57feb266d3f1d35ca2381c1f142ba5c2fa..7306254b7487e938a4367b8e445f6dbb1bdbe697 100644
--- a/content/browser/geolocation/wifi_data_provider_common_win.h
+++ b/device/geolocation/wifi_data_provider_common_win.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
-#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
+#ifndef DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
+#define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
#include <windows.h>
#include <ntddndis.h>
-#include "content/browser/geolocation/wifi_data_provider.h"
+#include "device/geolocation/wifi_data_provider.h"
-namespace content {
+namespace device {
// 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
@@ -19,6 +19,6 @@ int GetDataFromBssIdList(const NDIS_802_11_BSSID_LIST& bss_id_list,
int list_size,
WifiData::AccessPointDataSet* data);
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
+#endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_COMMON_WIN_H_
« no previous file with comments | « device/geolocation/wifi_data_provider_common_unittest.cc ('k') | device/geolocation/wifi_data_provider_common_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698