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

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

Issue 2844293003: Factor out UrlPatternIndex from IndexedRuleset. (Closed)
Patch Set: Address final nits. Created 3 years, 7 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/flat/url_pattern_index.fbs
diff --git a/components/subresource_filter/core/common/flat/rules.fbs b/components/subresource_filter/core/common/flat/url_pattern_index.fbs
similarity index 88%
rename from components/subresource_filter/core/common/flat/rules.fbs
rename to components/subresource_filter/core/common/flat/url_pattern_index.fbs
index fdeaea972ee2eb8212f1d4c4e7e305f2a6ccf649..ace4a0566dca5fab1e6095870cbbc164c2c4283f 100644
--- a/components/subresource_filter/core/common/flat/rules.fbs
+++ b/components/subresource_filter/core/common/flat/url_pattern_index.fbs
@@ -1,3 +1,7 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
namespace subresource_filter.flat;
// Corresponds to subresource_filter::proto::UrlPatternType.
@@ -89,16 +93,4 @@ table UrlPatternIndex {
fallback_rules : [UrlRule];
}
-// The top-level data structure used to store URL rules.
-table IndexedRuleset {
- // The index of all blacklist URL rules.
- blacklist_index : UrlPatternIndex;
-
- // 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;
+root_type UrlPatternIndex;
« no previous file with comments | « components/subresource_filter/core/common/flat/rules.fbs ('k') | components/subresource_filter/core/common/indexed_ruleset.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698