Index: content/browser/histogram_message_filter.cc |
diff --git a/content/browser/histogram_message_filter.cc b/content/browser/histogram_message_filter.cc |
index ac08af3bc16aaa8c202aced274a02086e764ea01..cb4e29f6bcb1921ddb7137732cfe3cd09ad81dc0 100644 |
--- a/content/browser/histogram_message_filter.cc |
+++ b/content/browser/histogram_message_filter.cc |
@@ -49,17 +49,17 @@ void HistogramMessageFilter::OnGetBrowserHistogram( |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO)); |
// Security: Only allow access to browser histograms when running in the |
// context of a test. |
- bool using_dom_controller = |
+ bool using_stats_collection_extension = |
CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kDomAutomationController); |
+ switches::kStatsCollectionExtension); |
bool reduced_security = |
CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kReduceSecurityForDomAutomationTests); |
+ switches::kReduceSecurityForStatsCollectionTests); |
- if (!using_dom_controller || !reduced_security) { |
+ if (!using_stats_collection_extension || !reduced_security) { |
LOG(ERROR) << "Attempt at reading browser histogram without specifying " |
- << "--" << switches::kDomAutomationController << " and " |
- << "--" << switches::kReduceSecurityForDomAutomationTests |
+ << "--" << switches::kStatsCollectionExtension << " and " |
+ << "--" << switches::kReduceSecurityForStatsCollectionTests |
<< " switches."; |
return; |
} |