| Index: components/subresource_filter/core/common/flat/indexed_ruleset.fbs
|
| diff --git a/components/subresource_filter/core/common/flat/indexed_ruleset.fbs b/components/subresource_filter/core/common/flat/indexed_ruleset.fbs
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..91262283f095d79545c6c6c1fda5d06afa07e084
|
| --- /dev/null
|
| +++ b/components/subresource_filter/core/common/flat/indexed_ruleset.fbs
|
| @@ -0,0 +1,22 @@
|
| +// 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.
|
| +
|
| +// TODO(pkalinnikov): Make including by absolute path work.
|
| +include "url_pattern_index.fbs";
|
| +
|
| +namespace subresource_filter.flat;
|
| +
|
| +// 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 deactivation rules.
|
| + whitelist_index : UrlPatternIndex;
|
| +
|
| + // The index of all whitelist URL rules with activation options.
|
| + deactivation_index : UrlPatternIndex;
|
| +}
|
| +
|
| +root_type IndexedRuleset;
|
|
|