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

Unified Diff: content/browser/geolocation/geolocation_service_context.h

Issue 2192683003: Revert of Reland: Geolocation: move from content/browser to device/ (patchset #2 id:20001 of https:… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2810
Patch Set: 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: content/browser/geolocation/geolocation_service_context.h
diff --git a/device/geolocation/geolocation_service_context.h b/content/browser/geolocation/geolocation_service_context.h
similarity index 83%
rename from device/geolocation/geolocation_service_context.h
rename to content/browser/geolocation/geolocation_service_context.h
index dab0fc5df7572542ae35f3e0f9238ccbb5e436ce..c97bb53a20b27734367de70c87810af0fbace5e4 100644
--- a/device/geolocation/geolocation_service_context.h
+++ b/content/browser/geolocation/geolocation_service_context.h
@@ -2,23 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_
-#define DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_
+#ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_
+#define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
-#include "device/geolocation/geolocation_export.h"
+#include "content/browser/geolocation/geolocation_service_impl.h"
#include "third_party/WebKit/public/platform/modules/geolocation/geolocation.mojom.h"
-namespace device {
-
-class GeolocationServiceImpl;
-struct Geoposition;
+namespace content {
// 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 DEVICE_GEOLOCATION_EXPORT GeolocationServiceContext {
+class GeolocationServiceContext {
public:
GeolocationServiceContext();
virtual ~GeolocationServiceContext();
@@ -59,6 +56,6 @@ class DEVICE_GEOLOCATION_EXPORT GeolocationServiceContext {
DISALLOW_COPY_AND_ASSIGN(GeolocationServiceContext);
};
-} // namespace device
+} // namespace content
-#endif // DEVICE_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_
+#endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698