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

Unified Diff: trunk/src/content/browser/histogram_message_filter.cc

Issue 16160006: Revert 202620 "Collect tab timing information for use in telemen..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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: trunk/src/content/browser/histogram_message_filter.cc
===================================================================
--- trunk/src/content/browser/histogram_message_filter.cc (revision 202661)
+++ trunk/src/content/browser/histogram_message_filter.cc (working copy)
@@ -49,17 +49,17 @@
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::IO));
// Security: Only allow access to browser histograms when running in the
// context of a test.
- bool using_stats_collection_controller =
+ bool using_dom_controller =
CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kStatsCollectionController);
+ switches::kDomAutomationController);
bool reduced_security =
CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kReduceSecurityForStatsCollectionTests);
+ switches::kReduceSecurityForDomAutomationTests);
- if (!using_stats_collection_controller || !reduced_security) {
+ if (!using_dom_controller || !reduced_security) {
LOG(ERROR) << "Attempt at reading browser histogram without specifying "
- << "--" << switches::kStatsCollectionController << " and "
- << "--" << switches::kReduceSecurityForStatsCollectionTests
+ << "--" << switches::kDomAutomationController << " and "
+ << "--" << switches::kReduceSecurityForDomAutomationTests
<< " switches.";
return;
}
« no previous file with comments | « trunk/src/chrome/test/ui/ui_test.cc ('k') | trunk/src/content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698