| Index: components/ukm/ukm_reporting_service.cc
|
| diff --git a/components/ukm/ukm_reporting_service.cc b/components/ukm/ukm_reporting_service.cc
|
| index 3e6d48a0f7bcddf5fa8c782a7a6348fe323d506e..aba99ad1cea6bb5e10c4f5aaeb0a4836ae07bd03 100644
|
| --- a/components/ukm/ukm_reporting_service.cc
|
| +++ b/components/ukm/ukm_reporting_service.cc
|
| @@ -89,8 +89,10 @@ void UkmReportingService::LogCellularConstraint(bool upload_canceled) {
|
| upload_canceled);
|
| }
|
|
|
| -void UkmReportingService::LogResponseCode(int response_code) {
|
| - UMA_HISTOGRAM_SPARSE_SLOWLY("UKM.Upload.ResponseCode", response_code);
|
| +void UkmReportingService::LogResponseOrErrorCode(int response_code,
|
| + int error_code) {
|
| + UMA_HISTOGRAM_SPARSE_SLOWLY("UKM.LogUpload.ResponseOrErrorCode",
|
| + response_code >= 0 ? response_code : error_code);
|
| }
|
|
|
| void UkmReportingService::LogSuccess(size_t log_size) {
|
|
|