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

Unified Diff: content/browser/geolocation/mock_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/mock_location_arbitrator.h
diff --git a/content/browser/geolocation/mock_location_arbitrator.h b/content/browser/geolocation/mock_location_arbitrator.h
index f096b12f7204d067d3f5b766e8a3fee1f5d6aa60..0b671719957428b6480af7b01d33d502eb7b34b4 100644
--- a/content/browser/geolocation/mock_location_arbitrator.h
+++ b/content/browser/geolocation/mock_location_arbitrator.h
@@ -25,6 +25,8 @@ class MockLocationArbitrator : public LocationArbitrator {
virtual void StopProviders() OVERRIDE;
virtual void OnPermissionGranted() OVERRIDE;
virtual bool HasPermissionBeenGranted() const OVERRIDE;
+ virtual void PauseProviders() OVERRIDE;
+ virtual void ResumeProviders() OVERRIDE;
private:
bool permission_granted_;

Powered by Google App Engine
This is Rietveld 408576698