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

Unified Diff: blimp/engine/feature/geolocation/blimp_location_provider.h

Issue 2176753003: Geolocation: move from content/browser to device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed device/geolocation/public/cpp 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/blimp_location_provider.h
diff --git a/blimp/engine/feature/geolocation/blimp_location_provider.h b/blimp/engine/feature/geolocation/blimp_location_provider.h
index d3d16f22a9041915f79a05dd2465a446497b9479..8a87b752bbd765c37207f51bd257a12de4119d50 100644
--- a/blimp/engine/feature/geolocation/blimp_location_provider.h
+++ b/blimp/engine/feature/geolocation/blimp_location_provider.h
@@ -5,34 +5,34 @@
#ifndef BLIMP_ENGINE_FEATURE_GEOLOCATION_BLIMP_LOCATION_PROVIDER_H_
#define BLIMP_ENGINE_FEATURE_GEOLOCATION_BLIMP_LOCATION_PROVIDER_H_
-#include "content/public/browser/location_provider.h"
-#include "content/public/common/geoposition.h"
+#include "device/geolocation/geoposition.h"
+#include "device/geolocation/location_provider.h"
namespace blimp {
namespace engine {
// Location provider for Blimp using the device's provider over the network.
-class BlimpLocationProvider : public content::LocationProvider {
+class BlimpLocationProvider : public device::LocationProvider {
public:
BlimpLocationProvider();
~BlimpLocationProvider() override;
- // content::LocationProvider implementation.
+ // device::LocationProvider implementation.
bool StartProvider(bool high_accuracy) override;
void StopProvider() override;
- void GetPosition(content::Geoposition* position) override;
+ void GetPosition(device::Geoposition* position) override;
void RequestRefresh() override;
void OnPermissionGranted() override;
private:
- void NotifyCallback(const content::Geoposition& position);
- void OnLocationResponse(const content::Geoposition& position);
+ void NotifyCallback(const device::Geoposition& position);
+ void OnLocationResponse(const device::Geoposition& position);
void SetUpdateCallback(
const LocationProviderUpdateCallback& callback) override;
LocationProviderUpdateCallback callback_;
- content::Geoposition position_;
+ device::Geoposition position_;
DISALLOW_COPY_AND_ASSIGN(BlimpLocationProvider);
};

Powered by Google App Engine
This is Rietveld 408576698