Index: chrome/browser/chromeos/policy/upload_job_impl.cc |
diff --git a/chrome/browser/chromeos/policy/upload_job_impl.cc b/chrome/browser/chromeos/policy/upload_job_impl.cc |
index 834294e60349d395f72ba814bcf9477363215ef9..9d8c69cfcf2c41529a77c9f95c09b28dc414bc01 100644 |
--- a/chrome/browser/chromeos/policy/upload_job_impl.cc |
+++ b/chrome/browser/chromeos/policy/upload_job_impl.cc |
@@ -411,8 +411,9 @@ void UploadJobImpl::OnURLFetchComplete(const net::URLFetcher* source) { |
access_token_.clear(); |
post_data_.reset(); |
state_ = SUCCESS; |
- UMA_HISTOGRAM_ENUMERATION(kUploadJobSuccessHistogram, retry_, |
- UploadJobSuccess::REQUEST_MAX); |
+ UMA_HISTOGRAM_EXACT_LINEAR( |
+ kUploadJobSuccessHistogram, retry_, |
+ static_cast<int>(UploadJobSuccess::REQUEST_MAX)); |
delegate_->OnSuccess(); |
} else if (response_code == net::HTTP_UNAUTHORIZED) { |
SYSLOG(ERROR) << "Unauthorized request."; |