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

Unified Diff: content/browser/geolocation/location_provider_android.h

Issue 65273002: Add a mechanism to pause and resume geolocation requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wire up onPause/onResume Created 7 years, 1 month 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: content/browser/geolocation/location_provider_android.h
diff --git a/content/browser/geolocation/location_provider_android.h b/content/browser/geolocation/location_provider_android.h
index b4f5886ceba6c30f27807b1d3a332536e718f88e..dd4e3ab16f18182f7272fa738e50c2283ad241f7 100644
--- a/content/browser/geolocation/location_provider_android.h
+++ b/content/browser/geolocation/location_provider_android.h
@@ -28,6 +28,8 @@ class LocationProviderAndroid : public LocationProviderBase {
virtual void GetPosition(Geoposition* position) OVERRIDE;
virtual void RequestRefresh() OVERRIDE;
virtual void OnPermissionGranted() OVERRIDE;
+ virtual void PauseProvider() OVERRIDE;
+ virtual void ResumeProvider() OVERRIDE;
private:
Geoposition last_position_;

Powered by Google App Engine
This is Rietveld 408576698