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

Unified Diff: device/geolocation/geolocation_service_context.h

Issue 2192683002: Reland 2:Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ignore size_t_to_int truncation warning 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/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_
« no previous file with comments | « device/geolocation/geolocation_provider_impl_unittest.cc ('k') | device/geolocation/geolocation_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698