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

Unified Diff: blimp/engine/app/blimp_content_browser_client.cc

Issue 2028823002: Refactor to make BlimpLocationProvider accessible to content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to address kmarshall's comments Created 4 years, 7 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: blimp/engine/app/blimp_content_browser_client.cc
diff --git a/blimp/engine/app/blimp_content_browser_client.cc b/blimp/engine/app/blimp_content_browser_client.cc
index 8e88f5dfb6a19a1d6d5362c72bb9d5d37e969921..19254b5eab3d599534313a9cfdfef08da679b7ab 100644
--- a/blimp/engine/app/blimp_content_browser_client.cc
+++ b/blimp/engine/app/blimp_content_browser_client.cc
@@ -39,6 +39,15 @@ BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
return blimp_browser_main_parts_->GetBrowserContext();
}
+content::LocationProvider*
+BlimpContentBrowserClient::OverrideSystemLocationProvider() {
+ return &location_provider_;
+}
+
+bool BlimpContentBrowserClient::UseDefaultLocationProviders() {
+ return false;
+}
+
void BlimpContentBrowserClient::RegisterRenderProcessMojoServices(
content::ServiceRegistry* registry) {
registry->AddService<mojom::BlobChannel>(

Powered by Google App Engine
This is Rietveld 408576698