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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContextTest.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/core/loader/FrameFetchContextTest.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
index 5dfc5cd7a4ae0a72cdd8bb59d68574ee2b123503..32eb83eab0f2afe05f1e8336350b3e4c66cd05ee 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContextTest.cpp
@@ -95,6 +95,10 @@ class FixedPolicySubresourceFilter : public WebDocumentSubresourceFilter {
return m_policy;
}
+ LoadPolicy getLoadPolicyForWebSocketConnect(const WebURL& url) override {
+ return m_policy;
+ }
+
void reportDisallowedLoad() override { ++*m_filteredLoadCounter; }
private:

Powered by Google App Engine
This is Rietveld 408576698