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

Unified Diff: content/browser/frame_host/render_frame_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/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index dc561b180aa3e533dfee43e362346c0c446c8555..4b3c60b2086e88de1bbf6db4c318a228429bec63 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -100,6 +100,10 @@ struct FileChooserParams;
struct Referrer;
struct ResourceResponse;
+namespace mojom {
+class WebSocket;
+}
+
class CONTENT_EXPORT RenderFrameHostImpl
: public RenderFrameHost,
NON_EXPORTED_BASE(public mojom::FrameHost),
@@ -800,6 +804,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
FrameTreeNode* FindAndVerifyChild(int32_t child_frame_routing_id,
bad_message::BadMessageReason reason);
+ void CreateWebSocket(
+ mojo::InterfaceRequest<mojom::WebSocket> request);
+
// Creates a Web Bluetooth Service owned by the frame.
void CreateWebBluetoothService(
mojo::InterfaceRequest<blink::mojom::WebBluetoothService> request);

Powered by Google App Engine
This is Rietveld 408576698