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

Unified Diff: content/public/common/resource_response_info.h

Issue 1721813002: Adding DRP specfic UMA for FirstContentfulPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created a DRP PageLoadMetricsObserver Created 4 years, 10 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: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index 340407ecc5951b2b42eab70267972312e5223eec..ad2593772cc75071e5a5993badc10b48f43caa2d 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -128,17 +128,20 @@ struct ResourceResponseInfo {
// The time immediately before starting ServiceWorker. If the response is not
// provided by the ServiceWorker, kept empty.
// TODO(ksakamoto): Move this to net::LoadTimingInfo.
base::TimeTicks service_worker_start_time;
// The time immediately before dispatching fetch event in ServiceWorker.
// If the response is not provided by the ServiceWorker, kept empty.
// TODO(ksakamoto): Move this to net::LoadTimingInfo.
base::TimeTicks service_worker_ready_time;
- // Whether or not the request was for a LoFi version of the resource.
+ // True if the navigation used lofi.
bool is_using_lofi;
+
+ // True if the navigation was proxied through data reduction proxy.
+ bool used_data_reduction_proxy;
};
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_RESOURCE_RESPONSE_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698