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

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

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.cc
diff --git a/blimp/engine/feature/geolocation/blimp_location_provider.cc b/blimp/engine/feature/geolocation/blimp_location_provider.cc
index de86b9fc1e65b31384c8cbdd43cca52128e388ca..97958bca1aaea188225c2ce12afb348977bcc1ba 100644
--- a/blimp/engine/feature/geolocation/blimp_location_provider.cc
+++ b/blimp/engine/feature/geolocation/blimp_location_provider.cc
@@ -4,7 +4,7 @@
#include "blimp/engine/feature/geolocation/blimp_location_provider.h"
-#include "content/public/common/geoposition.h"
+#include "device/geolocation/geoposition.h"
namespace blimp {
namespace engine {
@@ -23,7 +23,7 @@ bool BlimpLocationProvider::StartProvider(bool high_accuracy) {
void BlimpLocationProvider::StopProvider() {
}
-void BlimpLocationProvider::GetPosition(content::Geoposition* position) {
+void BlimpLocationProvider::GetPosition(device::Geoposition* position) {
DCHECK(position);
*position = position_;
@@ -39,14 +39,14 @@ void BlimpLocationProvider::OnPermissionGranted() {
}
void BlimpLocationProvider::NotifyCallback(
- const content::Geoposition& position) {
+ const device::Geoposition& position) {
DCHECK(!callback_.is_null());
callback_.Run(this, position);
}
void BlimpLocationProvider::OnLocationResponse(
- const content::Geoposition& position) {
+ const device::Geoposition& position) {
NotifyCallback(position);
NOTIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698