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

Unified Diff: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h

Issue 2714573002: Enable websocket filtering via SubresourceFilter (Closed)
Patch Set: return true Created 3 years, 10 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: 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..0796f57afca13d19a13c3dc3ad9a8853339b27f9 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
@@ -155,6 +155,8 @@ class MODULES_EXPORT DocumentWebSocketChannel final
void didFinishLoadingBlob(DOMArrayBuffer*);
void didFailLoadingBlob(FileError::ErrorCode);
+ 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;

Powered by Google App Engine
This is Rietveld 408576698