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

Unified Diff: content/browser/histogram_message_filter.cc

Issue 15804006: Remove --reduce-security-for-stats-collection-tests switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/histogram_message_filter.cc
diff --git a/content/browser/histogram_message_filter.cc b/content/browser/histogram_message_filter.cc
index be6f85fcb57f3e1df36bed76d39f3e25107c3127..7522190414d8853363f9f046cca61d6e9f678856 100644
--- a/content/browser/histogram_message_filter.cc
+++ b/content/browser/histogram_message_filter.cc
@@ -52,15 +52,9 @@ void HistogramMessageFilter::OnGetBrowserHistogram(
bool using_stats_collection_controller =
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kStatsCollectionController);
- bool reduced_security =
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kReduceSecurityForStatsCollectionTests);
-
- if (!using_stats_collection_controller || !reduced_security) {
+ if (!using_stats_collection_controller) {
LOG(ERROR) << "Attempt at reading browser histogram without specifying "
- << "--" << switches::kStatsCollectionController << " and "
- << "--" << switches::kReduceSecurityForStatsCollectionTests
- << " switches.";
+ << "--" << switches::kStatsCollectionController << " switch.";
return;
}
base::HistogramBase* histogram =
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698