| Index: device/geolocation/geolocation_service_context.cc
|
| diff --git a/device/geolocation/geolocation_service_context.cc b/device/geolocation/geolocation_service_context.cc
|
| index 2f0e011d24ca6656c7ee41064e214fa67e22b05a..148b77b6c1ed34a9c8408ebdcd73c8a6ac44237d 100644
|
| --- a/device/geolocation/geolocation_service_context.cc
|
| +++ b/device/geolocation/geolocation_service_context.cc
|
| @@ -10,7 +10,7 @@
|
|
|
| namespace device {
|
|
|
| -GeolocationServiceContext::GeolocationServiceContext() : paused_(false) {}
|
| +GeolocationServiceContext::GeolocationServiceContext() {}
|
|
|
| GeolocationServiceContext::~GeolocationServiceContext() {}
|
|
|
| @@ -33,20 +33,6 @@ void GeolocationServiceContext::ServiceHadConnectionError(
|
| services_.erase(it);
|
| }
|
|
|
| -void GeolocationServiceContext::PauseUpdates() {
|
| - paused_ = true;
|
| - for (auto* service : services_) {
|
| - service->PauseUpdates();
|
| - }
|
| -}
|
| -
|
| -void GeolocationServiceContext::ResumeUpdates() {
|
| - paused_ = false;
|
| - for (auto* service : services_) {
|
| - service->ResumeUpdates();
|
| - }
|
| -}
|
| -
|
| void GeolocationServiceContext::SetOverride(
|
| std::unique_ptr<Geoposition> geoposition) {
|
| geoposition_override_.swap(geoposition);
|
|
|