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

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: Addresses wez's #96 and creis's #95 comments 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 56b709c056f6d638e4121c36d4f391c1cff9d77c..5cb059eae70b7d5d066f6761c7a137c41e8d26f3 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -611,11 +611,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();

Powered by Google App Engine
This is Rietveld 408576698