Index: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h |
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h |
index 90eb1f2ce555da3e8a36938d50a62190decfb3a3..50049d708154e6253cb211ff97caceb0e023ce7f 100644 |
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h |
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h |
@@ -155,6 +155,10 @@ class MODULES_EXPORT DocumentWebSocketChannel final |
void didFinishLoadingBlob(DOMArrayBuffer*); |
void didFailLoadingBlob(FileError::ErrorCode); |
+ // This method is run asynchronously after a successful connect() to allow for |
+ // additional filtering policy to be applied to this connection. |
+ void maybeFilterConnection(); |
+ |
// m_handle is a handle of the connection. |
// m_handle == 0 means this channel is closed. |
std::unique_ptr<WebSocketHandle> m_handle; |