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

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 9413038: SPDY - chrome:loadtimes() should display negotiated NPN protocol. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/glue/weburlresponse_extradata_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/weburlloader_impl.cc
===================================================================
--- webkit/glue/weburlloader_impl.cc (revision 123758)
+++ webkit/glue/weburlloader_impl.cc (working copy)
@@ -35,6 +35,7 @@
#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/webkitplatformsupport_impl.h"
#include "webkit/glue/weburlrequest_extradata_impl.h"
+#include "webkit/glue/weburlresponse_extradata_impl.h"
using base::Time;
using base::TimeTicks;
@@ -170,6 +171,8 @@
response->setConnectionID(info.connection_id);
response->setConnectionReused(info.connection_reused);
response->setDownloadFilePath(FilePathToWebString(info.download_file_path));
+ response->setExtraData(new WebURLResponseExtraDataImpl(
+ info.npn_negotiated_protocol));
const ResourceLoadTimingInfo& timing_info = info.load_timing;
if (!timing_info.base_time.is_null()) {
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/glue/weburlresponse_extradata_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698