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

Unified Diff: content/child/request_extra_data.h

Issue 18601004: Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: follow interface change Created 7 years, 5 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/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index 5b890e6e06416763ee6b75cd0e8cbc03d0964843..dce29d830990efda93086ee34b78209002a505fb 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -17,8 +17,11 @@ namespace content {
class CONTENT_EXPORT RequestExtraData
: NON_EXPORTED_BASE(public webkit_glue::WebURLRequestExtraDataImpl) {
public:
+ static const int kType;
+
RequestExtraData(WebKit::WebReferrerPolicy referrer_policy,
const WebKit::WebString& custom_user_agent,
+ bool was_after_preconnect_request,
bool is_main_frame,
int64 frame_id,
bool parent_is_main_frame,
@@ -29,6 +32,7 @@ class CONTENT_EXPORT RequestExtraData
int transferred_request_request_id);
virtual ~RequestExtraData();
+ bool was_after_preconnect_request() { return was_after_preconnect_request_; }
bool is_main_frame() const { return is_main_frame_; }
int64 frame_id() const { return frame_id_; }
bool parent_is_main_frame() const { return parent_is_main_frame_; }
@@ -43,6 +47,7 @@ class CONTENT_EXPORT RequestExtraData
}
private:
+ bool was_after_preconnect_request_;
bool is_main_frame_;
int64 frame_id_;
bool parent_is_main_frame_;

Powered by Google App Engine
This is Rietveld 408576698