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

Unified Diff: device/geolocation/public/cpp/geolocation_service_context.h

Issue 2176753003: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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: device/geolocation/public/cpp/geolocation_service_context.h
diff --git a/content/browser/geolocation/geolocation_service_context.h b/device/geolocation/public/cpp/geolocation_service_context.h
similarity index 86%
rename from content/browser/geolocation/geolocation_service_context.h
rename to device/geolocation/public/cpp/geolocation_service_context.h
index c97bb53a20b27734367de70c87810af0fbace5e4..084e1357705b764dad20dbb9ec2536379f212a7f 100644
--- a/content/browser/geolocation/geolocation_service_context.h
+++ b/device/geolocation/public/cpp/geolocation_service_context.h
@@ -2,15 +2,17 @@
// 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_PUBLIC_CPP_GEOLOCATION_SERVICE_CONTEXT_H_
+#define DEVICE_GEOLOCATION_PUBLIC_CPP_GEOLOCATION_SERVICE_CONTEXT_H_
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
-#include "content/browser/geolocation/geolocation_service_impl.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
jam 2016/07/25 22:29:21 this class is browser-context (i.e. profile) speci
mcasas 2016/07/26 00:17:23 Probably not at this point, but it depends on othe
jam 2016/07/26 17:21:29 ok so on second thoughts, looking at how this is u
mcasas 2016/07/26 17:45:32 Acknowledged.
@@ -56,6 +58,6 @@ class GeolocationServiceContext {
DISALLOW_COPY_AND_ASSIGN(GeolocationServiceContext);
};
-} // namespace content
+} // namespace device
-#endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_SERVICE_CONTEXT_H_
+#endif // DEVICE_GEOLOCATION_PUBLIC_CPP_GEOLOCATION_SERVICE_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698