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

Unified Diff: webkit/child/weburlrequest_extradata_impl.h

Issue 18601004: Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unittest compilation failure 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: webkit/child/weburlrequest_extradata_impl.h
diff --git a/webkit/child/weburlrequest_extradata_impl.h b/webkit/child/weburlrequest_extradata_impl.h
index 6e5dccddd630fcb3c35d93030b98e4fff9bbe44b..1a5697c828eac4186f3df5622ef1d087ccc3db60 100644
--- a/webkit/child/weburlrequest_extradata_impl.h
+++ b/webkit/child/weburlrequest_extradata_impl.h
@@ -25,17 +25,20 @@ class WEBKIT_CHILD_EXPORT WebURLRequestExtraDataImpl :
// ppb_url_request_info_impl.cc needs to be able to set it.
explicit WebURLRequestExtraDataImpl(
WebKit::WebReferrerPolicy referrer_policy,
- const WebKit::WebString& custom_user_agent);
+ const WebKit::WebString& custom_user_agent,
+ bool was_after_preconnect_request);
virtual ~WebURLRequestExtraDataImpl();
WebKit::WebReferrerPolicy referrer_policy() const { return referrer_policy_; }
const WebKit::WebString& custom_user_agent() const {
return custom_user_agent_;
}
+ bool was_after_preconnect_request() { return was_after_preconnect_request_; }
private:
WebKit::WebReferrerPolicy referrer_policy_;
WebKit::WebString custom_user_agent_;
+ bool was_after_preconnect_request_;
DISALLOW_COPY_AND_ASSIGN(WebURLRequestExtraDataImpl);
};

Powered by Google App Engine
This is Rietveld 408576698