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

Unified Diff: content/public/browser/geolocation_delegate.cc

Issue 2126893003: Geolocation cleanup: make GeolocationDelegate::OverrideSystemLocationProvider return unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wez@ nit Created 4 years, 5 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 | « content/public/browser/geolocation_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/geolocation_delegate.cc
diff --git a/content/public/browser/geolocation_delegate.cc b/content/public/browser/geolocation_delegate.cc
index 8975fed40259c597351308e604e4f2979d43c868..2894f461c89150859fdf84f4aa7b74f99d87749f 100644
--- a/content/public/browser/geolocation_delegate.cc
+++ b/content/public/browser/geolocation_delegate.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "content/public/browser/geolocation_delegate.h"
+#include "content/public/browser/location_provider.h"
namespace content {
@@ -14,7 +15,8 @@ AccessTokenStore* GeolocationDelegate::CreateAccessTokenStore() {
return nullptr;
}
-LocationProvider* GeolocationDelegate::OverrideSystemLocationProvider() {
+std::unique_ptr<LocationProvider>
+GeolocationDelegate::OverrideSystemLocationProvider() {
return nullptr;
}
« no previous file with comments | « content/public/browser/geolocation_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698