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

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

Issue 2736953003: Removing unused PreviewsDataSavings (Closed)
Patch Set: removing drp codepaths only used by previews/ Created 3 years, 9 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_settings.cc
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
index fecd6ea13ef0ef20b6636592f8014e8c1ba0b7b5..4bec48f20a8cca749657657435f2a84f931fe008 100644
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.cc
@@ -406,15 +406,4 @@ void DataReductionProxySettings::GetContentLengths(
days, original_content_length, received_content_length, last_update_time);
}
-bool DataReductionProxySettings::UpdateDataSavings(
- const std::string& data_usage_host,
- int64_t data_used,
- int64_t original_size) {
- if (!IsDataReductionProxyEnabled())
- return false;
- data_reduction_proxy_service_->compression_stats()->UpdateDataSavings(
- data_usage_host, data_used, original_size);
- return true;
-}
-
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698