Chromium Code Reviews

Unified Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2643183002: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. (Closed)
Patch Set: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: content/browser/renderer_host/render_process_host_impl.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index aa6898de84d4ea2270dc7a2cb9b6686233b00ab7..8954b6bde80dcbc5191b521c4a4fd9e99e7c2db1 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -26,6 +26,7 @@
#include "content/browser/renderer_host/frame_sink_provider_impl.h"
#include "content/browser/renderer_host/offscreen_canvas_provider_impl.h"
#include "content/browser/webrtc/webrtc_eventlog_host.h"
+#include "content/common/associated_interface_registry_impl.h"
#include "content/common/associated_interfaces.mojom.h"
#include "content/common/content_export.h"
#include "content/common/indexed_db/indexed_db.mojom.h"
@@ -346,6 +347,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
const std::string& name,
mojom::AssociatedInterfaceAssociatedRequest request) override;
+ void BindRouteProvider(mojom::RouteProviderAssociatedRequest request);
+
void CreateMusGpuRequest(ui::mojom::GpuRequest request);
void CreateOffscreenCanvasProvider(
blink::mojom::OffscreenCanvasProviderRequest request);
@@ -460,6 +463,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// delete ourselves.
IDMap<IPC::Listener*> listeners_;
+ std::unique_ptr<AssociatedInterfaceRegistryImpl> associated_interfaces_;
+
mojo::AssociatedBinding<mojom::RouteProvider> route_provider_binding_;
mojo::AssociatedBindingSet<mojom::AssociatedInterfaceProvider, int32_t>
associated_interface_provider_bindings_;

Powered by Google App Engine