Index: net/base/sdch_filter.cc |
=================================================================== |
--- net/base/sdch_filter.cc (revision 10269) |
+++ net/base/sdch_filter.cc (working copy) |
@@ -31,7 +31,7 @@ |
static int filter_use_count = 0; |
++filter_use_count; |
if (META_REFRESH_RECOVERY == decoding_status_) { |
- UMA_HISTOGRAM_COUNTS(L"Sdch.FilterUseBeforeDisabling", filter_use_count); |
+ UMA_HISTOGRAM_COUNTS("Sdch.FilterUseBeforeDisabling", filter_use_count); |
} |
if (vcdiff_streaming_decoder_.get()) { |
@@ -53,46 +53,46 @@ |
// considered (per suggestion from Jake Brutlag). |
if (10 >= duration.InMinutes()) { |
if (DECODING_IN_PROGRESS == decoding_status_) { |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Decode_Latency_F", duration, |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Decode_Latency_F", duration, |
base::TimeDelta::FromMilliseconds(20), |
base::TimeDelta::FromMinutes(10), 100); |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Decode_1st_To_Last", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Decode_1st_To_Last", |
read_times_.back() - read_times_[0], |
base::TimeDelta::FromMilliseconds(20), |
base::TimeDelta::FromMinutes(10), 100); |
if (read_times_.size() > 3) { |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Decode_3rd_To_4th", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Decode_3rd_To_4th", |
read_times_[3] - read_times_[2], |
base::TimeDelta::FromMilliseconds(10), |
base::TimeDelta::FromSeconds(3), 100); |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Decode_2nd_To_3rd", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Decode_2nd_To_3rd", |
read_times_[2] - read_times_[1], |
base::TimeDelta::FromMilliseconds(10), |
base::TimeDelta::FromSeconds(3), 100); |
} |
- UMA_HISTOGRAM_COUNTS_100(L"Sdch.Network_Decode_Reads", |
+ UMA_HISTOGRAM_COUNTS_100("Sdch.Network_Decode_Reads", |
read_times_.size()); |
- UMA_HISTOGRAM_COUNTS(L"Sdch.Network_Decode_Bytes_Read", output_bytes_); |
+ UMA_HISTOGRAM_COUNTS("Sdch.Network_Decode_Bytes_Read", output_bytes_); |
} else if (PASS_THROUGH == decoding_status_) { |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Pass-through_Latency_F", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Pass-through_Latency_F", |
duration, |
base::TimeDelta::FromMilliseconds(20), |
base::TimeDelta::FromMinutes(10), 100); |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Pass-through_1st_To_Last", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Pass-through_1st_To_Last", |
read_times_.back() - read_times_[0], |
base::TimeDelta::FromMilliseconds(20), |
base::TimeDelta::FromMinutes(10), 100); |
if (read_times_.size() > 3) { |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Pass-through_3rd_To_4th", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Pass-through_3rd_To_4th", |
read_times_[3] - read_times_[2], |
base::TimeDelta::FromMilliseconds(10), |
base::TimeDelta::FromSeconds(3), 100); |
- UMA_HISTOGRAM_CLIPPED_TIMES(L"Sdch.Network_Pass-through_2nd_To_3rd", |
+ UMA_HISTOGRAM_CLIPPED_TIMES("Sdch.Network_Pass-through_2nd_To_3rd", |
read_times_[2] - read_times_[1], |
base::TimeDelta::FromMilliseconds(10), |
base::TimeDelta::FromSeconds(3), 100); |
} |
- UMA_HISTOGRAM_COUNTS_100(L"Sdch.Network_Pass-through_Reads", |
+ UMA_HISTOGRAM_COUNTS_100("Sdch.Network_Pass-through_Reads", |
read_times_.size()); |
} |
} |