| Index: content/public/browser/geolocation_provider.h
|
| diff --git a/content/public/browser/geolocation_provider.h b/content/public/browser/geolocation_provider.h
|
| index 5e27db48880a4fdd73201a633a3d151edbee7b84..edd2003d94df2fffd052dd0414b9c19cf21868dc 100644
|
| --- a/content/public/browser/geolocation_provider.h
|
| +++ b/content/public/browser/geolocation_provider.h
|
| @@ -55,6 +55,15 @@ class CONTENT_EXPORT GeolocationProvider {
|
| const Geoposition& position,
|
| const base::Closure& completion_callback);
|
|
|
| + // Pauses (or resume any currently paused) location update callbacks.
|
| + // No-op if there are no active location callbacks. Note that this will
|
| + // pause (or resume) ALL callbacks for ALL providers. Embderred may like
|
| + // to use this to pause updates if a device was to go to a temporary
|
| + // low power mode.
|
| + virtual void PauseAllLocationUpdateCallbacks() = 0;
|
| + virtual void ResumeAllLocationUpdateCallbacks() = 0;
|
| +
|
| +
|
| protected:
|
| virtual~GeolocationProvider() {}
|
| };
|
|
|