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

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

Issue 2028823002: Refactor to make BlimpLocationProvider accessible to content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes try issue 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 7aed5913a483149b0462bd4dd4dfa8a1c3e03fa4..3c91549773b80299e7389c2eb865eb15a330131b 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -618,11 +618,16 @@ class CONTENT_EXPORT ContentBrowserClient {
// Allows an embedder to return its own LocationProvider implementation.
// Return nullptr to use the default one for the platform to be created.
+ // Caller takes ownership of the returned LocationProvider.
// FYI: Used by an external project; please don't remove.
// Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
// information.
virtual LocationProvider* OverrideSystemLocationProvider();
+ // Returns true if the location API should use network-based
+ // location approximation in addition to the system provider, if any.
+ virtual bool UseNetworkLocationProviders();
+
// Creates a new DevToolsManagerDelegate. The caller owns the returned value.
// It's valid to return nullptr.
virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
« no previous file with comments | « content/browser/geolocation/mock_location_provider.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698