| 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 89717995175f366fcae44f36fc833ef283ed0591..4687b6a9399b1e3b96404902f7a5a22ae8bf051b 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
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_pingback_client.h"
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/optional.h"
|
| #include "base/rand_util.h"
|
| @@ -88,6 +90,10 @@ void AddDataToPageloadMetrics(const DataReductionProxyData& request_data,
|
| request->set_effective_connection_type(
|
| protobuf_parser::ProtoEffectiveConnectionTypeFromEffectiveConnectionType(
|
| request_data.effective_connection_type()));
|
| + request->set_compressed_page_size_kb(
|
| + static_cast<int>(timing.network_bytes / 1024));
|
| + request->set_original_page_size_kb(
|
| + static_cast<int>(timing.original_network_bytes / 1024));
|
| }
|
|
|
| // Adds |current_time| as the metrics sent time to |request_data|, and returns
|
|
|