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

Unified Diff: device/geolocation/location_provider_android.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 | « device/geolocation/location_provider.h ('k') | device/geolocation/location_provider_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/location_provider_android.h
diff --git a/device/geolocation/location_provider_android.h b/device/geolocation/location_provider_android.h
index bae4bb1b20b73241416a566dd35da59fa6d9737f..2bf055845a0293e399bd457166e05c8540e0381d 100644
--- a/device/geolocation/location_provider_android.h
+++ b/device/geolocation/location_provider_android.h
@@ -25,8 +25,7 @@ class LocationProviderAndroid : public LocationProviderBase {
// LocationProvider.
bool StartProvider(bool high_accuracy) override;
void StopProvider() override;
- void GetPosition(Geoposition* position) override;
- void RequestRefresh() override;
+ const Geoposition& GetPosition() override;
void OnPermissionGranted() override;
private:
« no previous file with comments | « device/geolocation/location_provider.h ('k') | device/geolocation/location_provider_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698