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..db14748e952b086c06ea5289a497ebc841fe39af 100644 |
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h |
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h |
@@ -155,6 +155,13 @@ class MODULES_EXPORT DocumentWebSocketChannel final |
void didFinishLoadingBlob(DOMArrayBuffer*); |
void didFailLoadingBlob(FileError::ErrorCode); |
+ void failWithClosureCode(unsigned short code, |
+ const String& reason, |
+ MessageLevel, |
+ std::unique_ptr<SourceLocation>); |
+ |
+ bool shouldFilterConnection(const KURL&); |
+ |
// m_handle is a handle of the connection. |
// m_handle == 0 means this channel is closed. |
std::unique_ptr<WebSocketHandle> m_handle; |