Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 87140c91124c30b731e4cb863f6f4fa188e0223e..ea97506265bad7b436a2303c62dd1747269e825e 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -69,6 +69,7 @@ class WebMediaPlayerClient; |
class WebNotificationPresenter; |
class WebServiceWorkerProvider; |
class WebServiceWorkerProviderClient; |
+class WebSocketHandle; |
class WebNode; |
class WebPlugin; |
class WebRTCPeerConnectionHandler; |
@@ -439,9 +440,14 @@ public: |
// WebSocket ----------------------------------------------------- |
- // A WebSocket object is going to open new stream connection. |
+ // A WebSocket object is going to open a new socket stream connection. Used |
+ // by the old WebSocket implementation. |
virtual void willOpenSocketStream(WebSocketStreamHandle*) { } |
+ // A WebSocket object is going to open a new WebSocket connection. Used by |
+ // the new WebSocket implementation. |
+ virtual void willOpenWebSocket(WebSocketHandle*) { } |
+ |
// MediaStream ----------------------------------------------------- |