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

Unified Diff: device/geolocation/geolocation_service_context.h

Issue 2379253002: Remove ContentViewCore::PauseOrResumeGeolocation() (Closed)
Patch Set: comment Created 4 years, 2 months 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: device/geolocation/geolocation_service_context.h
diff --git a/device/geolocation/geolocation_service_context.h b/device/geolocation/geolocation_service_context.h
index e320d5c25d70858e13198d30e0845740c3a62347..b462dc2cdc7ee35a3649c17be06f9a9d17f6b92f 100644
--- a/device/geolocation/geolocation_service_context.h
+++ b/device/geolocation/geolocation_service_context.h
@@ -33,15 +33,6 @@ class DEVICE_GEOLOCATION_EXPORT GeolocationServiceContext {
// longer safe to access |service|.
void ServiceHadConnectionError(GeolocationServiceImpl* service);
- // Pauses and resumes geolocation. Resuming when nothing is paused is a
- // no-op. If a service is added while geolocation is paused, that service
- // will not get geolocation updates until geolocation is resumed.
- void PauseUpdates();
- void ResumeUpdates();
-
- // Returns whether geolocation updates are currently paused.
- bool paused() { return paused_; }
-
// Enables geolocation override. This method can be used to trigger possible
// location-specific behavior in a particular context.
void SetOverride(std::unique_ptr<Geoposition> geoposition);
@@ -51,7 +42,6 @@ class DEVICE_GEOLOCATION_EXPORT GeolocationServiceContext {
private:
ScopedVector<GeolocationServiceImpl> services_;
- bool paused_;
std::unique_ptr<Geoposition> geoposition_override_;
« no previous file with comments | « content/public/browser/android/content_view_core.h ('k') | device/geolocation/geolocation_service_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698