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

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

Issue 2189503004: BlobChannelService is modified to be Mojo Service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses kmarshall's #3 comments Created 4 years, 5 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 2afbe417c63db231c4f2c3d2f7719addb45fcc8b..0b4b66fd0657bfd11a037332e8c5e19e8a99e3df 100644
--- a/blimp/engine/app/blimp_content_browser_client.cc
+++ b/blimp/engine/app/blimp_content_browser_client.cc
@@ -42,9 +42,9 @@ BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
void BlimpContentBrowserClient::ExposeInterfacesToRenderer(
shell::InterfaceRegistry* registry,
content::RenderProcessHost* render_process_host) {
- registry->AddInterface<mojom::BlobChannel>(
- base::Bind(&BlobChannelService::Create,
- blimp_browser_main_parts_->GetBlobChannelSender()));
+ registry->AddInterface<mojom::BlobChannel>(base::Bind(
+ &BlobChannelService::BindRequest,
+ base::Unretained(blimp_browser_main_parts_->GetBlobChannelService())));
}
} // namespace engine

Powered by Google App Engine
This is Rietveld 408576698