Index: net/url_request/url_request_http_job.cc |
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc |
index 27c5df6d506868ef27a409f5181d0a03e9556055..e08f4803a0debb79ba7d9b2377e3aaf5d92ec697 100644 |
--- a/net/url_request/url_request_http_job.cc |
+++ b/net/url_request/url_request_http_job.cc |
@@ -1493,6 +1493,10 @@ void URLRequestHttpJob::RecordTimer() { |
request_creation_time_ = base::Time(); |
UMA_HISTOGRAM_MEDIUM_TIMES("Net.HttpTimeToFirstByte", to_start); |
+ if (request_info_.upload_data_stream && |
+ request_info_.upload_data_stream->size() > 1024 * 1024) { |
+ UMA_HISTOGRAM_MEDIUM_TIMES("Net.HttpTimeToFirstByte.LargeUpload", to_start); |
+ } |
} |
void URLRequestHttpJob::ResetTimer() { |