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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc

Issue 2622183002: Remove clear-data-reduction-proxy-data-savings flag (Closed)
Patch Set: Addressed comments Created 3 years, 11 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/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
index c01b4e281e6fa55978430f45ec11dd436cac7521..5d4b87c9187c3d80917b0917549f7a94dabe3ee0 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_compression_stats.cc
@@ -374,11 +374,6 @@ void DataReductionProxyCompressionStats::Init() {
weak_factory_.GetWeakPtr()));
}
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kClearDataReductionProxyDataSavings)) {
- ClearDataSavingStatistics();
- }
-
if (delay_.is_zero())
return;

Powered by Google App Engine
This is Rietveld 408576698