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

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

Issue 2226143002: Gets rid of the LocationArbitrator interface, in preference for LocationProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into lai Created 4 years, 4 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 | « no previous file | blimp/engine/feature/geolocation/blimp_location_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d5ffe5ac23ee459b4b1a8a39371a6ed49716b306..3f23ce7d61859a02dbf8ed36fe7b0c16c267fb79 100644
--- a/blimp/engine/feature/geolocation/blimp_location_provider.h
+++ b/blimp/engine/feature/geolocation/blimp_location_provider.h
@@ -37,8 +37,7 @@ class BlimpLocationProvider : public device::LocationProvider {
// device::LocationProvider implementation.
bool StartProvider(bool high_accuracy) override;
void StopProvider() override;
- void GetPosition(device::Geoposition* position) override;
- void RequestRefresh() override;
+ const device::Geoposition& GetPosition() override;
void OnPermissionGranted() override;
void SetUpdateCallback(
const LocationProviderUpdateCallback& callback) override;
« no previous file with comments | « no previous file | blimp/engine/feature/geolocation/blimp_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698