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

Unified Diff: webkit/plugins/ppapi/url_request_info_util.cc

Issue 18601004: Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert unwanted 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: webkit/plugins/ppapi/url_request_info_util.cc
diff --git a/webkit/plugins/ppapi/url_request_info_util.cc b/webkit/plugins/ppapi/url_request_info_util.cc
index 774a3c907299121fa2a27579b5998d702b78597c..8ea97b0c88e974cc83f176d8a1818eec50e176ff 100644
--- a/webkit/plugins/ppapi/url_request_info_util.cc
+++ b/webkit/plugins/ppapi/url_request_info_util.cc
@@ -184,9 +184,11 @@ bool CreateWebURLRequest(::ppapi::URLRequestInfoData* data,
}
if (data->has_custom_user_agent) {
+ bool was_after_preconnect_request = false;
dest->setExtraData(new webkit_glue::WebURLRequestExtraDataImpl(
WebKit::WebReferrerPolicyDefault, // Ignored.
- WebString::fromUTF8(data->custom_user_agent)));
+ WebString::fromUTF8(data->custom_user_agent),
+ was_after_preconnect_request));
}
return true;
« content/renderer/render_view_impl.cc ('K') | « webkit/glue/weburlrequest_extradata_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698