| 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 93178372cbbac724254e8eca305f993110a23d6a..0613ac667123913312da9a96c51f91f783d3c5f6 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.experimental_first_meaningful_paint) {
|
| + request->set_allocated_experimental_time_to_first_meaningful_paint(
|
| + protobuf_parser::CreateDurationFromTimeDelta(
|
| + timing.experimental_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())
|
|
|