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

Unified Diff: components/subresource_filter/core/common/proto/rules.proto

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: components/subresource_filter/core/common/proto/rules.proto
diff --git a/components/subresource_filter/core/common/proto/rules.proto b/components/subresource_filter/core/common/proto/rules.proto
index f651c04abd29be99bf300e995728cc1bdbe83a27..b918dd95a9960fde898e038baa8b16b1b7ae055d 100644
--- a/components/subresource_filter/core/common/proto/rules.proto
+++ b/components/subresource_filter/core/common/proto/rules.proto
@@ -65,10 +65,11 @@ enum ElementType {
ELEMENT_TYPE_MEDIA = 512;
ELEMENT_TYPE_FONT = 1024;
ELEMENT_TYPE_POPUP = 2048;
+ ELEMENT_TYPE_WEBSOCKET = 4096;
// NOTE: Keep these two values consistent with the values above.
- ELEMENT_TYPE_MAX = 2048;
- ELEMENT_TYPE_ALL = 4095;
+ ELEMENT_TYPE_MAX = 4096;
+ ELEMENT_TYPE_ALL = 8191;
};
// The options controlling whether or not to activate filtering for subresources

Powered by Google App Engine
This is Rietveld 408576698