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

Unified Diff: components/subresource_filter/core/common/indexed_ruleset.h

Issue 2182493009: Framework for indexing of subresource filtering rules. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Attempt #2 to fix tests on Windows. Created 4 years, 5 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/indexed_ruleset.h
diff --git a/components/subresource_filter/core/common/indexed_ruleset.h b/components/subresource_filter/core/common/indexed_ruleset.h
index cb04c5af7fdaf209340efadc64d3000e4366b528..b0f8759a2880c71cdcc9db7b909b4222c278559f 100644
--- a/components/subresource_filter/core/common/indexed_ruleset.h
+++ b/components/subresource_filter/core/common/indexed_ruleset.h
@@ -36,6 +36,9 @@ static_assert(kNGramSize <= sizeof(NGram), "NGram type is too narrow.");
// FlatBufferBuilder storing the structures.
class RulesetIndexer {
public:
+ // The current binary format version of the indexed ruleset.
+ static const int kIndexedFormatVersion;
+
RulesetIndexer();
~RulesetIndexer();

Powered by Google App Engine
This is Rietveld 408576698