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

Unified Diff: content/public/browser/geolocation_delegate.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
« no previous file with comments | « content/public/browser/access_token_store.h ('k') | content/public/browser/geolocation_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/geolocation_delegate.h
diff --git a/device/geolocation/geolocation_delegate.h b/content/public/browser/geolocation_delegate.h
similarity index 78%
rename from device/geolocation/geolocation_delegate.h
rename to content/public/browser/geolocation_delegate.h
index a3f621bdece36a06e0ccf958a1757cd3f05bf34c..36ff280a815387a560553228832e4d0bf6069632 100644
--- a/device/geolocation/geolocation_delegate.h
+++ b/content/public/browser/geolocation_delegate.h
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef DEVICE_GEOLOCATION_GEOLOCATION_DELEGATE_H_
-#define DEVICE_GEOLOCATION_GEOLOCATION_DELEGATE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_GEOLOCATION_DELEGATE_H_
+#define CONTENT_PUBLIC_BROWSER_GEOLOCATION_DELEGATE_H_
#include <memory>
#include "base/memory/ref_counted.h"
-#include "device/geolocation/geolocation_export.h"
+#include "content/common/content_export.h"
-namespace device {
+namespace content {
class AccessTokenStore;
class LocationProvider;
// An embedder of Geolocation may override these class' methods to provide
// specific functionality.
-class DEVICE_GEOLOCATION_EXPORT GeolocationDelegate {
+class CONTENT_EXPORT GeolocationDelegate {
public:
virtual ~GeolocationDelegate() {}
@@ -34,6 +34,6 @@ class DEVICE_GEOLOCATION_EXPORT GeolocationDelegate {
virtual std::unique_ptr<LocationProvider> OverrideSystemLocationProvider();
};
-} // namespace device
+} // namespace content
-#endif // DEVICE_GEOLOCATION_GEOLOCATION_DELEGATE_H_
+#endif // CONTENT_PUBLIC_BROWSER_GEOLOCATION_DELEGATE_H_
« no previous file with comments | « content/public/browser/access_token_store.h ('k') | content/public/browser/geolocation_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698