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

Unified Diff: content/browser/geolocation/location_arbitrator.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_arbitrator.h
diff --git a/content/browser/geolocation/location_arbitrator.h b/content/browser/geolocation/location_arbitrator.h
index d2cd191c7981db567665744e0c2e8c4e2391714a..7446da1daaa6250ea6020d5c8e056ea6e94e7d61 100644
--- a/content/browser/geolocation/location_arbitrator.h
+++ b/content/browser/geolocation/location_arbitrator.h
@@ -19,6 +19,8 @@ public:
// See more details in geolocation_provider.
virtual void StartProviders(bool use_high_accuracy) = 0;
virtual void StopProviders() = 0;
+ virtual void PauseProviders() = 0;
+ virtual void ResumeProviders() = 0;
// Called everytime permission is granted to a page for using geolocation.
// This may either be through explicit user action (e.g. responding to the

Powered by Google App Engine
This is Rietveld 408576698