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

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

Issue 2797133006: [subresource_filter] Index activation rules separately. (Closed)
Patch Set: Add unittest. 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.h » ('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 d50de14149bc3ff96971cb5e1c0f153b89c4683c..f60253558b5d7e1859fb6edb1ce7496d49457f2c 100644
--- a/components/subresource_filter/core/common/flat/rules.fbs
+++ b/components/subresource_filter/core/common/flat/rules.fbs
@@ -94,8 +94,11 @@ table IndexedRuleset {
// The index of all blacklist URL rules.
blacklist_index : UrlPatternIndex;
- // The index of all whitelist URL rules.
+ // The index of all whitelist URL rules, except pure activation rules.
whitelist_index : UrlPatternIndex;
+
+ // The index of all whitelist URL rules with activation options.
+ activation_index : UrlPatternIndex;
}
root_type IndexedRuleset;
« no previous file with comments | « no previous file | components/subresource_filter/core/common/indexed_ruleset.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698