summaryrefslogtreecommitdiffstats
path: root/webkit/glue/weburlloader_impl.cc
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 01:50:40 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-28 01:50:40 +0000
commitb9fd01bae27674f04fd6944636e0756995073319 (patch)
tree68db0f88f657dae1e582798667c685441a7edae7 /webkit/glue/weburlloader_impl.cc
parentf6232ddeb071f8052cb4db9d84fc709648bc2d9f (diff)
downloadchromium_src-b9fd01bae27674f04fd6944636e0756995073319.zip
chromium_src-b9fd01bae27674f04fd6944636e0756995073319.tar.gz
chromium_src-b9fd01bae27674f04fd6944636e0756995073319.tar.bz2
SPDY - chrome:loadtimes() should display negotiated NPN protocol.
BUG=108472 R=willchan TEST=in js console chrome:loadtimes() should print SPDY protocol that was negotiated. Review URL: http://codereview.chromium.org/9413038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/weburlloader_impl.cc')
-rw-r--r--webkit/glue/weburlloader_impl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 6141052..173f65e 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -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 @@ void PopulateURLResponse(
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()) {