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

Unified Diff: content/browser/geolocation/geolocation_provider_impl.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/geolocation_provider_impl.h
diff --git a/content/browser/geolocation/geolocation_provider_impl.h b/content/browser/geolocation/geolocation_provider_impl.h
index 6613f44fc697cfe6079d074aebfad63b20ff43d4..9f36792977d8f3d33501ab6a7a39e6907630a443 100644
--- a/content/browser/geolocation/geolocation_provider_impl.h
+++ b/content/browser/geolocation/geolocation_provider_impl.h
@@ -41,6 +41,8 @@ class CONTENT_EXPORT GeolocationProviderImpl
virtual bool RemoveLocationUpdateCallback(
const LocationUpdateCallback& callback) OVERRIDE;
virtual void UserDidOptIntoLocationServices() OVERRIDE;
+ virtual void PauseAllLocationUpdateCallbacks() OVERRIDE;
+ virtual void ResumeAllLocationUpdateCallbacks() OVERRIDE;
bool LocationServicesOptedIn() const;

Powered by Google App Engine
This is Rietveld 408576698