| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| index 820370ff0fe360dc20385ab7d4b2faa198b25a6f..864369cae4a3dea7a37d60ec8f3ddc4139cbad67 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.cc
|
| @@ -41,20 +41,26 @@ void AddDataToPageloadMetrics(const DataReductionProxyData& request_data,
|
| protobuf_parser::CreateTimestampFromTime(timing.navigation_start)
|
| .release());
|
| if (request_data.request_url().is_valid())
|
| request->set_first_request_url(request_data.request_url().spec());
|
| if (timing.first_contentful_paint) {
|
| request->set_allocated_time_to_first_contentful_paint(
|
| protobuf_parser::CreateDurationFromTimeDelta(
|
| timing.first_contentful_paint.value())
|
| .release());
|
| }
|
| + if (timing.first_meaningful_paint) {
|
| + request->set_allocated_time_to_first_meaningful_paint(
|
| + protobuf_parser::CreateDurationFromTimeDelta(
|
| + timing.first_meaningful_paint.value())
|
| + .release());
|
| + }
|
| if (timing.first_image_paint) {
|
| request->set_allocated_time_to_first_image_paint(
|
| protobuf_parser::CreateDurationFromTimeDelta(
|
| timing.first_image_paint.value())
|
| .release());
|
| }
|
| if (timing.response_start) {
|
| request->set_allocated_time_to_first_byte(
|
| protobuf_parser::CreateDurationFromTimeDelta(
|
| timing.response_start.value())
|
|
|