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

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

Issue 2119973002: Port WebSockets to Mojo IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: 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 79e44a1f007db49fc1f8ce67f806e4d543be4c96..08ee3fdcbc40061a2b3365a9c4f7bf2d4b05e02f 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -68,6 +68,7 @@ class RenderWidgetHostImpl;
class RenderWidgetHostViewFrameSubscriber;
class StoragePartition;
class StoragePartitionImpl;
+class WebSocketManager;
namespace mojom {
class StoragePartitionService;
@@ -183,6 +184,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
void OnProcessLaunched() override;
void OnProcessLaunchFailed(int error_code) override;
+ WebSocketManager* websocket_manager() const {
+ return websocket_manager_.get();
+ }
+
scoped_refptr<AudioRendererHost> audio_renderer_host() const;
// Call this function when it is evident that the child process is actively
@@ -471,6 +476,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
// Forwards power state messages to the renderer process.
PowerMonitorMessageBroadcaster power_monitor_broadcaster_;
+ std::unique_ptr<WebSocketManager> websocket_manager_;
+
scoped_refptr<AudioRendererHost> audio_renderer_host_;
scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;

Powered by Google App Engine
This is Rietveld 408576698