Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_page_load_timing.h

Issue 2833523002: Adding opt out and previews type information to DRP pingback (Closed)
Patch Set: bengr comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a1224225e41f95094f329ba20e6b545f887429b1..84e1357dae120d97ad3fa8a9f5a02b3cf4b0b9ab 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
@@ -26,7 +26,8 @@ struct DataReductionProxyPageLoadTiming {
parse_blocked_on_script_load_duration,
const base::Optional<base::TimeDelta>& parse_stop,
int64_t network_bytes,
- int64_t original_network_bytes);
+ int64_t original_network_bytes,
+ bool app_background_occurred);
DataReductionProxyPageLoadTiming(
const DataReductionProxyPageLoadTiming& other);
@@ -57,6 +58,8 @@ struct DataReductionProxyPageLoadTiming {
// 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;
+ // True when android app background occurred during the page load lifetime.
+ const bool app_background_occurred;
};
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698