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

Unified Diff: content/renderer/geolocation_dispatcher.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/renderer/geolocation_dispatcher.h
diff --git a/content/renderer/geolocation_dispatcher.h b/content/renderer/geolocation_dispatcher.h
index 5a96070373aefdc41c3e150b10e06cca559ddc26..8d844424f4cb07fa37b3e1ad4c8bec487c11c213 100644
--- a/content/renderer/geolocation_dispatcher.h
+++ b/content/renderer/geolocation_dispatcher.h
@@ -45,6 +45,7 @@ class GeolocationDispatcher : public RenderViewObserver,
const blink::WebGeolocationPermissionRequest& permissionRequest);
virtual void cancelPermissionRequest(
const blink::WebGeolocationPermissionRequest& permissionRequest);
+ virtual void pauseOrResume(bool should_pause);
// Permission for using geolocation has been set.
void OnPermissionSet(int bridge_id, bool is_allowed);

Powered by Google App Engine
This is Rietveld 408576698