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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 2488913003: Replacing allocate bitmap IPC messages with a new Mojo interface. (Closed)
Patch Set: Clean-up Created 4 years, 1 month 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: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index 47d2833487960a8ac0a1e1e204e2ee4740bc36ae..cbb881e71b36cfd95b470b2d9402787d95fa610a 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -29,6 +29,7 @@
#include "content/browser/memory/memory_message_filter.h"
#include "content/browser/power_monitor_message_broadcaster.h"
#include "content/browser/profiler_message_filter.h"
+#include "content/browser/renderer_host/shared_memory_allocator_impl.h"
#include "content/browser/service_manager/service_manager_context.h"
#include "content/browser/tracing/trace_message_filter.h"
#include "content/common/child_process_host_impl.h"
@@ -97,6 +98,7 @@ class ConnectionFilterImpl : public ConnectionFilter {
service_manager::InterfaceRegistry* registry,
service_manager::Connector* connector) override {
registry->AddInterface(base::Bind(&PowerMonitorMessageBroadcaster::Create));
+ registry->AddInterface(base::Bind(&SharedMemoryAllocatorImpl::Create));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698