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

Unified Diff: third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp

Issue 2724903004: Add ELEMENT_TYPE_WEBSOCKET to subresource filter (Closed)
Patch Set: rebase Created 3 years, 9 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/web/tests/WebDocumentSubresourceFilterTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp b/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp
index fbe5a45c42781b934554259992f1660853f0d9aa..92d67f7fb00c363580b20a8876ad5514dc9a418f 100644
--- a/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebDocumentSubresourceFilterTest.cpp
@@ -37,6 +37,10 @@ class TestDocumentSubresourceFilter : public WebDocumentSubresourceFilter {
return m_allowLoads ? Allow : Disallow;
}
+ LoadPolicy getLoadPolicyForWebSocketConnect(const WebURL& url) override {
+ return Allow;
+ }
+
void reportDisallowedLoad() override {}
const std::vector<std::string>& queriedSubresourcePaths() const {

Powered by Google App Engine
This is Rietveld 408576698