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

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

Issue 1985863002: Incorporate BlobChannel into Blimp image encode/decode pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blobchannel-helium
Patch Set: Decoupled BlobChannelSenderHost from mojom::BlobChannel 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..f5b742627518e0d52aa39104985a2976efc7dd71 100644
--- a/blimp/engine/app/blimp_content_browser_client.cc
+++ b/blimp/engine/app/blimp_content_browser_client.cc
@@ -6,6 +6,7 @@
#include "blimp/engine/app/blimp_browser_main_parts.h"
#include "blimp/engine/app/settings_manager.h"
#include "blimp/engine/mojo/blob_channel_service.h"
+#include "blimp/net/blob_channel/blob_channel_sender.h"
#include "content/public/common/service_registry.h"
namespace blimp {
@@ -41,8 +42,8 @@ BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
void BlimpContentBrowserClient::RegisterRenderProcessMojoServices(
content::ServiceRegistry* registry) {
- registry->AddService<mojom::BlobChannel>(
- base::Bind(&BlobChannelService::Create));
+ registry->AddService<mojom::BlobChannel>(base::Bind(
+ &BlobChannelService::Create, blimp_browser_main_parts_->GetBlobSender()));
}
} // namespace engine

Powered by Google App Engine
This is Rietveld 408576698