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

Unified Diff: components/subresource_filter/core/common/flat/rules.fbs

Issue 2798363002: [subresource_filter] Include WebSocket bit to the default element_types. (Closed)
Patch Set: Rebase. Created 3 years, 8 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
« no previous file with comments | « no previous file | components/subresource_filter/core/common/indexed_ruleset.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/subresource_filter/core/common/flat/rules.fbs
diff --git a/components/subresource_filter/core/common/flat/rules.fbs b/components/subresource_filter/core/common/flat/rules.fbs
index f60253558b5d7e1859fb6edb1ce7496d49457f2c..96c251a3bc92f056ce00909342ae68ca3ad13058 100644
--- a/components/subresource_filter/core/common/flat/rules.fbs
+++ b/components/subresource_filter/core/common/flat/rules.fbs
@@ -32,7 +32,8 @@ table UrlRule {
// A bitmask of element types, same as proto::UrlRule::element_types. Enables
// all element types except POPUP by default.
- element_types : ushort = 2047;
+ // Note: Keep it equal to ELEMENT_TYPE_ALL-ELEMENT_TYPE_POPUP for compactness.
+ element_types : ushort = 6143;
// A bitmask of activation types, same as proto::UrlRule::activation_types.
// Disables all activation types by default.
« no previous file with comments | « no previous file | components/subresource_filter/core/common/indexed_ruleset.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698