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

Unified Diff: blimp/engine/feature/geolocation/engine_geolocation_feature.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: blimp/engine/feature/geolocation/engine_geolocation_feature.h
diff --git a/blimp/engine/feature/geolocation/engine_geolocation_feature.h b/blimp/engine/feature/geolocation/engine_geolocation_feature.h
index 416041bb58cf573f1173a3df2074e446f6eb43f3..54f4a1eba0ba89d343426a24e8a99e70881c8107 100644
--- a/blimp/engine/feature/geolocation/engine_geolocation_feature.h
+++ b/blimp/engine/feature/geolocation/engine_geolocation_feature.h
@@ -10,11 +10,9 @@
#include "base/memory/weak_ptr.h"
#include "blimp/engine/feature/geolocation/blimp_location_provider.h"
#include "blimp/net/blimp_message_processor.h"
-
-namespace device {
-class GeolocationDelegate;
-struct Geoposition;
-}
+#include "content/public/browser/geolocation_delegate.h"
+#include "content/public/browser/location_provider.h"
+#include "content/public/common/geoposition.h"
namespace blimp {
namespace engine {
@@ -30,14 +28,14 @@ class EngineGeolocationFeature : public BlimpMessageProcessor,
void set_outgoing_message_processor(
std::unique_ptr<BlimpMessageProcessor> message_processor);
- device::GeolocationDelegate* CreateGeolocationDelegate();
+ content::GeolocationDelegate* CreateGeolocationDelegate();
// BlimpMessageProcessor implementation.
void ProcessMessage(std::unique_ptr<BlimpMessage> message,
const net::CompletionCallback& callback) override;
private:
- void NotifyCallback(const device::Geoposition& position);
+ void NotifyCallback(const content::Geoposition& position);
// BlimpLocationProvider::Delegate implementation.
void RequestAccuracy(

Powered by Google App Engine
This is Rietveld 408576698