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

Unified Diff: components/subresource_filter/core/browser/subresource_filter_features.cc

Issue 2894523006: Add instrumentation hooks to mesaure which subresource filter rules are used.
Patch Set: 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/browser/subresource_filter_features.cc
diff --git a/components/subresource_filter/core/browser/subresource_filter_features.cc b/components/subresource_filter/core/browser/subresource_filter_features.cc
index 5ce505d10bf931e2536b9ee84c3ce012ceb22adf..5a2dae7ebb3063844a5acb57388346bdff254afa 100644
--- a/components/subresource_filter/core/browser/subresource_filter_features.cc
+++ b/components/subresource_filter/core/browser/subresource_filter_features.cc
@@ -121,7 +121,7 @@ std::vector<Configuration> FillEnabledPresetConfigurations(
} kAvailablePresetConfigurations[] = {
{kPresetLiveRunOnPhishingSites, false,
&Configuration::MakePresetForLiveRunOnPhishingSites},
- {kPresetPerformanceTestingDryRunOnAllSites, false,
+ {kPresetPerformanceTestingDryRunOnAllSites, true,
&Configuration::MakePresetForPerformanceTestingDryRunOnAllSites}};
CommaSeparatedStrings enabled_presets(
@@ -145,6 +145,7 @@ Configuration ParseExperimentalConfiguration(
std::map<std::string, std::string>* params) {
Configuration configuration;
+ LOG(ERROR) << "ParseExperimentalConfigurations";
// ActivationConditions:
configuration.activation_conditions.activation_scope = ParseActivationScope(
TakeVariationParamOrReturnEmpty(params, kActivationScopeParameterName));

Powered by Google App Engine
This is Rietveld 408576698