| Index: components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.h
|
| diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.h
|
| index e9b023446fa8584c98d02c69e661e28f54ab985b..a1224225e41f95094f329ba20e6b545f887429b1 100644
|
| --- a/components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.h
|
| +++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PAGE_LOAD_TIMING_H
|
| #define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_PAGE_LOAD_TIMING_H
|
|
|
| +#include <stdint.h>
|
| +
|
| #include "base/optional.h"
|
| #include "base/time/time.h"
|
|
|
| @@ -22,7 +24,9 @@ struct DataReductionProxyPageLoadTiming {
|
| experimental_first_meaningful_paint,
|
| const base::Optional<base::TimeDelta>&
|
| parse_blocked_on_script_load_duration,
|
| - const base::Optional<base::TimeDelta>& parse_stop);
|
| + const base::Optional<base::TimeDelta>& parse_stop,
|
| + int64_t network_bytes,
|
| + int64_t original_network_bytes);
|
|
|
| DataReductionProxyPageLoadTiming(
|
| const DataReductionProxyPageLoadTiming& other);
|
| @@ -48,6 +52,11 @@ struct DataReductionProxyPageLoadTiming {
|
| const base::Optional<base::TimeDelta> parse_blocked_on_script_load_duration;
|
| // Time when parsing completed.
|
| const base::Optional<base::TimeDelta> parse_stop;
|
| + // The number of bytes served over the network, not including headers.
|
| + const int64_t network_bytes;
|
| + // The number of bytes that would have been served over the network if the
|
| + // user were not using data reduction proxy, not including headers.
|
| + const int64_t original_network_bytes;
|
| };
|
|
|
| } // namespace data_reduction_proxy
|
|
|