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

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

Issue 1298073002: Rename Net.DailyContentLength_DataReductionProxyEnabled_Unknown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head Created 5 years, 4 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 | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 86f3ae15c58fb9b5bf48355e864b6711ec7d5d37..453ed6cf744806fcea69c621d6afcb4f837e03ef 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
@@ -124,9 +124,9 @@ void RecordDailyContentLengthHistograms(
original_length >> 10);
UMA_HISTOGRAM_COUNTS("Net.DailyContentLength_Video", received_length >> 10);
} else if (is_mime_type_empty) {
- UMA_HISTOGRAM_COUNTS("Net.DailyOriginalContentLength_Unknown",
+ UMA_HISTOGRAM_COUNTS("Net.DailyOriginalContentLength_UnknownMime",
original_length >> 10);
- UMA_HISTOGRAM_COUNTS("Net.DailyContentLength_Unknown",
+ UMA_HISTOGRAM_COUNTS("Net.DailyContentLength_UnknownMime",
received_length >> 10);
}
int percent = 0;
@@ -164,10 +164,10 @@ void RecordDailyContentLengthHistograms(
received_length_with_data_reduction_enabled >> 10);
} else if (is_mime_type_empty) {
UMA_HISTOGRAM_COUNTS(
- "Net.DailyOriginalContentLength_DataReductionProxyEnabled_Unknown",
+ "Net.DailyOriginalContentLength_DataReductionProxyEnabled_UnknownMime",
original_length_with_data_reduction_enabled >> 10);
UMA_HISTOGRAM_COUNTS(
- "Net.DailyContentLength_DataReductionProxyEnabled_Unknown",
+ "Net.DailyContentLength_DataReductionProxyEnabled_UnknownMime",
received_length_with_data_reduction_enabled >> 10);
}
@@ -216,7 +216,7 @@ void RecordDailyContentLengthHistograms(
DCHECK_GE(unknown_length_with_data_reduction_enabled, 0);
UMA_HISTOGRAM_COUNTS(
- "Net.DailyContentLength_DataReductionProxyEnabled_Unknown",
+ "Net.DailyContentLength_DataReductionProxyEnabled_UnknownBypass",
unknown_length_with_data_reduction_enabled >> 10);
UMA_HISTOGRAM_PERCENTAGE(
"Net.DailyContentPercent_DataReductionProxyEnabled_Unknown",
@@ -247,10 +247,11 @@ void RecordDailyContentLengthHistograms(
received_length_via_data_reduction_proxy >> 10);
} else if (is_mime_type_empty) {
UMA_HISTOGRAM_COUNTS(
- "Net.DailyOriginalContentLength_ViaDataReductionProxy_Unknown",
+ "Net.DailyOriginalContentLength_ViaDataReductionProxy_UnknownMime",
original_length_via_data_reduction_proxy >> 10);
- UMA_HISTOGRAM_COUNTS("Net.DailyContentLength_ViaDataReductionProxy_Unknown",
- received_length_via_data_reduction_proxy >> 10);
+ UMA_HISTOGRAM_COUNTS(
+ "Net.DailyContentLength_ViaDataReductionProxy_UnknownMime",
+ received_length_via_data_reduction_proxy >> 10);
}
int percent_via_data_reduction_proxy = 0;
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698