Index: content/browser/geolocation/location_api_adapter_android.h |
diff --git a/content/browser/geolocation/location_api_adapter_android.h b/content/browser/geolocation/location_api_adapter_android.h |
index f81ac93826b4584c6058b9cee277d4a12a3d70bd..6dbc3e795ef665c4514107544087b986e6a59230 100644 |
--- a/content/browser/geolocation/location_api_adapter_android.h |
+++ b/content/browser/geolocation/location_api_adapter_android.h |
@@ -37,6 +37,15 @@ class AndroidLocationApiAdapter { |
// Called on the Geolocation thread. |
void Stop(); |
+ // Pauses the underlying location provider, preventing it from firing new |
+ // updates. This is intended as a lighter weight alternative to Stop() that |
+ // can be easily resumed without needing to call Start() again. |
+ void Pause(); |
+ |
+ // Resumes the underlying location provider. Should not be invoked unless |
+ // the location provider has already been paused. |
+ void Resume(); |
+ |
// Returns our singleton. |
static AndroidLocationApiAdapter* GetInstance(); |