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

Unified Diff: device/geolocation/geolocation_service_context.cc

Issue 2697473002: Remove last usage functions from HostContentSettingsMap and clean up prefs (Closed)
Patch Set: fix up unit test 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
« no previous file with comments | « device/geolocation/geolocation_service_context.h ('k') | device/geolocation/geolocation_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_service_context.cc
diff --git a/device/geolocation/geolocation_service_context.cc b/device/geolocation/geolocation_service_context.cc
index 1cb5e0d495458f1edbef395aae6c38ac7da8e391..b1bb14bd9f5e807ff371ed9b5fedbc369494efdf 100644
--- a/device/geolocation/geolocation_service_context.cc
+++ b/device/geolocation/geolocation_service_context.cc
@@ -16,10 +16,9 @@ GeolocationServiceContext::GeolocationServiceContext() {}
GeolocationServiceContext::~GeolocationServiceContext() {}
void GeolocationServiceContext::CreateService(
- const base::Closure& update_callback,
mojo::InterfaceRequest<mojom::GeolocationService> request) {
GeolocationServiceImpl* service =
- new GeolocationServiceImpl(std::move(request), this, update_callback);
+ new GeolocationServiceImpl(std::move(request), this);
services_.push_back(base::WrapUnique<GeolocationServiceImpl>(service));
if (geoposition_override_)
service->SetOverride(*geoposition_override_.get());
« no previous file with comments | « device/geolocation/geolocation_service_context.h ('k') | device/geolocation/geolocation_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698