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

Unified Diff: content/renderer/pepper/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: 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: content/renderer/pepper/url_request_info_util.cc
diff --git a/content/renderer/pepper/url_request_info_util.cc b/content/renderer/pepper/url_request_info_util.cc
index d3c45064ba2573d656e208a45a22280a7c80f7f0..42eb27f04d316a303d4c99ba27543ab4fa734874 100644
--- a/content/renderer/pepper/url_request_info_util.cc
+++ b/content/renderer/pepper/url_request_info_util.cc
@@ -183,9 +183,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;

Powered by Google App Engine
This is Rietveld 408576698