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

Unified Diff: components/subresource_filter/core/browser/subresource_filter_constants.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/browser/subresource_filter_constants.h
diff --git a/components/subresource_filter/core/browser/subresource_filter_constants.h b/components/subresource_filter/core/browser/subresource_filter_constants.h
index b06c400e4501c308e879b29470322c3ed8d2cc86..711efb982d3639a363e546ed54d5df29218a21a6 100644
--- a/components/subresource_filter/core/browser/subresource_filter_constants.h
+++ b/components/subresource_filter/core/browser/subresource_filter_constants.h
@@ -9,9 +9,18 @@
namespace subresource_filter {
-// The name of the directory under the user data directory, where filtering
-// rules are stored.
-extern const base::FilePath::CharType kRulesetBaseDirectoryName[];
+// The name of the top-level directory under the user data directory that
+// contains all files and subdirectories related to the subresource filter.
+extern const base::FilePath::CharType kTopLevelDirectoryName[];
+
+// The name of the subdirectory under the top-level directory that stores
+// versions of indexed rulesets. Files that belong to an IndexedRulesetVersion
+// are stored under /format_version/content_version/.
+extern const base::FilePath::CharType kIndexedRulesetBaseDirectoryName[];
+
+// The name of the subdirectory under the top-level directory that stores
+// versions of unindexed rulesets downloaded through the component updater.
+extern const base::FilePath::CharType kUnindexedRulesetBaseDirectoryName[];
// The name of the file that actually stores the ruleset contents.
extern const base::FilePath::CharType kRulesetDataFileName[];

Powered by Google App Engine
This is Rietveld 408576698