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

Unified Diff: device/geolocation/geolocation_provider_impl.cc

Issue 2249283003: Hooks together Geolocation Feature in the Client and Engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lai
Patch Set: Put TestingLocationArbitrator out of anonymous namespace. Created 4 years, 3 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/BUILD.gn ('k') | device/geolocation/location_arbitrator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/geolocation/geolocation_provider_impl.cc
diff --git a/device/geolocation/geolocation_provider_impl.cc b/device/geolocation/geolocation_provider_impl.cc
index dde10c0a4440586e959d9fd9bc74666c7b6aa2c6..55cbc77b802805ffe03fc8cbe7b141c266599072 100644
--- a/device/geolocation/geolocation_provider_impl.cc
+++ b/device/geolocation/geolocation_provider_impl.cc
@@ -17,7 +17,7 @@
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_task_runner_handle.h"
#include "device/geolocation/geolocation_delegate.h"
-#include "device/geolocation/location_arbitrator_impl.h"
+#include "device/geolocation/location_arbitrator.h"
namespace device {
@@ -190,8 +190,8 @@ void GeolocationProviderImpl::Init() {
if (!g_delegate.Get())
g_delegate.Get().reset(new GeolocationDelegate);
- arbitrator_ =
- base::MakeUnique<LocationArbitratorImpl>(g_delegate.Get().get());
+ arbitrator_ = base::MakeUnique<LocationArbitrator>(
+ base::WrapUnique(g_delegate.Get().get()));
arbitrator_->SetUpdateCallback(callback);
}
}
« no previous file with comments | « device/geolocation/BUILD.gn ('k') | device/geolocation/location_arbitrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698