Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index dcfe273540583acd360025138979e004621049c1..a9c2314efe81b1ec63a27eeed6b3a28f3a458843 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -184,6 +184,7 @@ |
#include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
#include "net/url_request/url_request_context_getter.h" |
#include "ppapi/features/features.h" |
+#include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" |
#include "services/service_manager/public/cpp/connection.h" |
#include "services/service_manager/public/cpp/connector.h" |
#include "services/service_manager/public/cpp/interface_provider.h" |
@@ -1347,6 +1348,13 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
AddUIThreadInterface(registry.get(), base::Bind(&FieldTrialRecorder::Create)); |
+ AddUIThreadInterface( |
+ registry.get(), |
+ base::Bind( |
+ &memory_instrumentation::CoordinatorImpl::BindCoordinatorRequest, |
+ base::Unretained( |
+ memory_instrumentation::CoordinatorImpl::GetInstance()))); |
+ |
GetContentClient()->browser()->ExposeInterfacesToRenderer(registry.get(), |
this); |