Index: content/port/browser/location_provider.h |
diff --git a/content/port/browser/location_provider.h b/content/port/browser/location_provider.h |
index 0dc61ef05a2c1a1b801f2ebf2cee54e263897767..c8704d0df0268d89d4b6a08841b80a7481993777 100644 |
--- a/content/port/browser/location_provider.h |
+++ b/content/port/browser/location_provider.h |
@@ -39,6 +39,12 @@ class LocationProvider { |
// network requests can be done until OnPermissionGranted() has been called. |
virtual void StopProvider() = 0; |
+ // The LocationProvider implementation may use the Pause/ResumeProvider API |
+ // to temporarily stop this provider from firing updates. By default, these |
+ // APIs are a no-op. |
+ virtual void PauseProvider() = 0; |
+ virtual void ResumeProvider() = 0; |
+ |
// Gets the current best position estimate. |
virtual void GetPosition(Geoposition* position) = 0; |