Index: device/geolocation/geolocation_service_context.h |
diff --git a/content/browser/geolocation/geolocation_service_context.h b/device/geolocation/geolocation_service_context.h |
similarity index 83% |
rename from content/browser/geolocation/geolocation_service_context.h |
rename to device/geolocation/geolocation_service_context.h |
index c97bb53a20b27734367de70c87810af0fbace5e4..dab0fc5df7572542ae35f3e0f9238ccbb5e436ce 100644 |
--- a/content/browser/geolocation/geolocation_service_context.h |
+++ b/device/geolocation/geolocation_service_context.h |
@@ -2,20 +2,23 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_ |
-#define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_ |
+#ifndef DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_ |
+#define DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_ |
#include "base/macros.h" |
#include "base/memory/scoped_vector.h" |
-#include "content/browser/geolocation/geolocation_service_impl.h" |
+#include "device/geolocation/geolocation_export.h" |
#include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom.h" |
-namespace content { |
+namespace device { |
+ |
+class GeolocationServiceImpl; |
+struct Geoposition; |
// Provides information to a set of GeolocationServiceImpl instances that are |
// associated with a given context. Notably, allows pausing and resuming |
// geolocation on these instances. |
-class GeolocationServiceContext { |
+class DEVICE_GEOLOCATION_EXPORT GeolocationServiceContext { |
public: |
GeolocationServiceContext(); |
virtual ~GeolocationServiceContext(); |
@@ -56,6 +59,6 @@ class GeolocationServiceContext { |
DISALLOW_COPY_AND_ASSIGN(GeolocationServiceContext); |
}; |
-} // namespace content |
+} // namespace device |
-#endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_ |
+#endif // DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_ |