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

Unified Diff: content/browser/geolocation/geolocation_provider_impl.cc

Issue 2104193002: Geolocation: Extract GeolocationProvider::Delegate into GeolocationDelegate (no new code) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jam@ nit: content/browser/geolocation/geolocation_delegate.cc --> content/public/browser Created 4 years, 6 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: content/browser/geolocation/geolocation_provider_impl.cc
diff --git a/content/browser/geolocation/geolocation_provider_impl.cc b/content/browser/geolocation/geolocation_provider_impl.cc
index ccad74979c214007f69acd6f89515e5d5bc3014a..df8fd635bdfe171bc8435390a8b7298ef76f3b0c 100644
--- a/content/browser/geolocation/geolocation_provider_impl.cc
+++ b/content/browser/geolocation/geolocation_provider_impl.cc
@@ -15,6 +15,7 @@
#include "content/browser/geolocation/location_arbitrator_impl.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/content_browser_client.h"
+#include "content/public/browser/geolocation_delegate.h"
namespace content {
@@ -179,7 +180,7 @@ GeolocationProviderImpl::CreateArbitrator() {
// Use the embedder's Delegate or fall back to the default one.
delegate_.reset(GetContentClient()->browser()->CreateGeolocationDelegate());
if (!delegate_)
- delegate_.reset(new GeolocationProvider::Delegate);
+ delegate_.reset(new GeolocationDelegate);
return base::WrapUnique(
new LocationArbitratorImpl(callback, delegate_.get()));
« no previous file with comments | « content/browser/geolocation/geolocation_provider_impl.h ('k') | content/browser/geolocation/location_arbitrator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698