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

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: Fixes in response to creis 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..6e89922fd07d6c2f5e106fb6c2cde7c2a1c80787 100644
--- a/blimp/engine/app/blimp_content_browser_client.cc
+++ b/blimp/engine/app/blimp_content_browser_client.cc
@@ -39,6 +39,11 @@ BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
return blimp_browser_main_parts_->GetBrowserContext();
}
+content::LocationProvider*
+BlimpContentBrowserClient::GetSoleLocationProvider() {
+ return &location_provider_;
+}
+
void BlimpContentBrowserClient::RegisterRenderProcessMojoServices(
content::ServiceRegistry* registry) {
registry->AddService<mojom::BlobChannel>(

Powered by Google App Engine
This is Rietveld 408576698