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

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

Issue 2098553002: Geolocation: extract ContentBrowserClient methods specific to Geolocation into a class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a TODO 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/geolocation_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index c16dd6b454718e6c821acb0c6e61de2f64063362..9f048b3038e03f10d86af74629be9ebd590e985f 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -307,7 +307,9 @@ net::NetLog* ContentBrowserClient::GetNetLog() {
return nullptr;
}
-AccessTokenStore* ContentBrowserClient::CreateAccessTokenStore() {
+GeolocationProvider::Delegate*
+ContentBrowserClient::CreateGeolocationDelegate() {
+ // We don't need to override anything, the default implementation is good.
return nullptr;
}
@@ -356,14 +358,6 @@ ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy(
return nullptr;
}
-LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() {
- return nullptr;
-}
-
-bool ContentBrowserClient::UseNetworkLocationProviders() {
- return true;
-}
-
DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() {
return nullptr;
}
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/geolocation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698