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

Unified Diff: chrome/browser/browser_process_impl.cc

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
« no previous file with comments | « no previous file | chrome/browser/component_updater/subresource_filter_component_installer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index aadf06ee52bc9c01969c3b6cdfcc6130ddcfa00e..ac2c1409429161f843e2f464cf96629e6dbd9b6f 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -1155,10 +1155,12 @@ void BrowserProcessImpl::CreateSubresourceFilterRulesetService() {
base::FilePath user_data_dir;
PathService::Get(chrome::DIR_USER_DATA, &user_data_dir);
+ base::FilePath indexed_ruleset_base_dir =
+ user_data_dir.Append(subresource_filter::kTopLevelDirectoryName)
+ .Append(subresource_filter::kIndexedRulesetBaseDirectoryName);
subresource_filter_ruleset_service_.reset(
new subresource_filter::RulesetService(
- local_state(), blocking_task_runner,
- user_data_dir.Append(subresource_filter::kRulesetBaseDirectoryName)));
+ local_state(), blocking_task_runner, indexed_ruleset_base_dir));
subresource_filter_ruleset_service_->RegisterDistributor(
base::WrapUnique(new subresource_filter::ContentRulesetDistributor));
}
« no previous file with comments | « no previous file | chrome/browser/component_updater/subresource_filter_component_installer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698