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

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

Issue 1859753002: Blimp: create Mojo component for renderer/browser communication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yzshen and nyquist feedback Created 4 years, 8 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
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.h ('k') | blimp/engine/app/blimp_content_main_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b10ad1ab14b53088dbf943e77fa200d4756517d8..55fcb176b6e3efc4bebd265ef55f4f02fc7a371d 100644
--- a/blimp/engine/app/blimp_content_browser_client.cc
+++ b/blimp/engine/app/blimp_content_browser_client.cc
@@ -6,6 +6,8 @@
#include "blimp/engine/app/blimp_browser_main_parts.h"
#include "blimp/engine/app/settings_manager.h"
#include "blimp/engine/common/blimp_browser_context.h"
+#include "blimp/engine/mojo/blob_channel_service.h"
+#include "content/public/common/service_registry.h"
namespace blimp {
namespace engine {
@@ -49,5 +51,11 @@ BlimpBrowserContext* BlimpContentBrowserClient::GetBrowserContext() {
return blimp_browser_main_parts_->GetBrowserContext();
}
+void BlimpContentBrowserClient::RegisterRenderProcessMojoServices(
+ content::ServiceRegistry* registry) {
+ registry->AddService<mojom::BlobChannel>(
+ base::Bind(&BlobChannelService::Create));
+}
+
} // namespace engine
} // namespace blimp
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.h ('k') | blimp/engine/app/blimp_content_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698