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

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: 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
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..30f8f52f2ac27193cba1aa50c787a6daa0b787c5 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_mojo_impl.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<BlobChannelMojo>(
+ base::Bind(&BlobChannelMojoImpl::Create));
+}
+
} // namespace engine
} // namespace blimp

Powered by Google App Engine
This is Rietveld 408576698