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

Unified Diff: device/geolocation/wifi_data_provider_manager.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
« no previous file with comments | « device/geolocation/wifi_data_provider_mac.cc ('k') | device/geolocation/wifi_data_provider_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/wifi_data_provider_manager.h
diff --git a/content/browser/geolocation/wifi_data_provider_manager.h b/device/geolocation/wifi_data_provider_manager.h
similarity index 89%
rename from content/browser/geolocation/wifi_data_provider_manager.h
rename to device/geolocation/wifi_data_provider_manager.h
index 652cf6437100be912ff0edbecbaaaec6aaca2b99..d2b633749cf851926248e521ae3576c4f7b4c96d 100644
--- a/content/browser/geolocation/wifi_data_provider_manager.h
+++ b/device/geolocation/wifi_data_provider_manager.h
@@ -12,8 +12,8 @@
// implementation of WifiDataProvider to abstract across platforms and also to
// allow mock providers to be used for testing.
-#ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_MANAGER_H_
-#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_MANAGER_H_
+#ifndef DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_MANAGER_H_
+#define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_MANAGER_H_
#include <set>
@@ -23,10 +23,10 @@
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
#include "base/strings/string_util.h"
-#include "content/browser/geolocation/wifi_data.h"
-#include "content/common/content_export.h"
+#include "device/geolocation/geolocation_export.h"
+#include "device/geolocation/wifi_data.h"
-namespace content {
+namespace device {
class WifiDataProvider;
@@ -35,7 +35,7 @@ class WifiDataProvider;
// We use a singleton instance of this class which is shared by multiple network
// location providers. These location providers access the instance through the
// Register and Unregister methods.
-class CONTENT_EXPORT WifiDataProviderManager {
+class DEVICE_GEOLOCATION_EXPORT WifiDataProviderManager {
public:
typedef WifiDataProvider* (*ImplFactoryFunction)(void);
@@ -92,6 +92,6 @@ class CONTENT_EXPORT WifiDataProviderManager {
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderManager);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_MANAGER_H_
+#endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_MANAGER_H_
« no previous file with comments | « device/geolocation/wifi_data_provider_mac.cc ('k') | device/geolocation/wifi_data_provider_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698