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

Unified Diff: device/geolocation/geolocation_service_impl.h

Issue 2697473002: Remove last usage functions from HostContentSettingsMap and clean up prefs (Closed)
Patch Set: adjust a comment Created 3 years, 10 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_impl.h
diff --git a/device/geolocation/geolocation_service_impl.h b/device/geolocation/geolocation_service_impl.h
index 305920e9e7397dd4d3c91e174f8cd854ee35787a..60ce117a3c8129cf6edf3e6485e5a782fbd533f1 100644
--- a/device/geolocation/geolocation_service_impl.h
+++ b/device/geolocation/geolocation_service_impl.h
@@ -25,8 +25,7 @@ class GeolocationServiceImpl : public mojom::GeolocationService {
// is being used.
GeolocationServiceImpl(
mojo::InterfaceRequest<mojom::GeolocationService> request,
- GeolocationServiceContext* context,
- const base::Closure& update_callback);
+ GeolocationServiceContext* context);
~GeolocationServiceImpl() override;
// Starts listening for updates.
@@ -57,10 +56,6 @@ class GeolocationServiceImpl : public mojom::GeolocationService {
GeolocationServiceContext* context_;
std::unique_ptr<GeolocationProvider::Subscription> geolocation_subscription_;
- // Callback that allows the instantiator of this class to be notified on
- // position updates.
- base::Closure update_callback_;
-
// The callback passed to QueryNextPosition.
QueryNextPositionCallback position_callback_;

Powered by Google App Engine
This is Rietveld 408576698