summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_loader_bridge.cc
diff options
context:
space:
mode:
authorlzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-26 03:57:57 +0000
committerlzheng@chromium.org <lzheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-26 03:57:57 +0000
commit193b0b89b4b49f8e8eb985b8f1a16e3c8506ee66 (patch)
tree5c7fe26f96ac2654fbb9e47e6b54b2e1d6faa29a /webkit/glue/resource_loader_bridge.cc
parente22fbfc7ddc9e6539d734f6d976f54eeca5111ec (diff)
downloadchromium_src-193b0b89b4b49f8e8eb985b8f1a16e3c8506ee66.zip
chromium_src-193b0b89b4b49f8e8eb985b8f1a16e3c8506ee66.tar.gz
chromium_src-193b0b89b4b49f8e8eb985b8f1a16e3c8506ee66.tar.bz2
Add field trial stats for alternate_protocol. The histogram we collected are:
http stats when alternate protocol is available but npn was not negotiated ( which means not usng spdy), and when alternate is available AND spdy is used. Noticable changes: 1. In http_network_transaction.cc, changed the logic that always parse response from server for alternate protocol and remember that in HttpAlternateProtocols strucuture. We need to remember this to collect stats for servers with alternate protocol support but used http for. 2. In spdy_stream.cc, get rid of the response copy from spdy_stream. This copy overwrites some early status in response set in http_network_transaction. TEST=http_network_transaction_unittest.cc BUG=46689 Review URL: http://codereview.chromium.org/2808010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/resource_loader_bridge.cc')
-rw-r--r--webkit/glue/resource_loader_bridge.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/resource_loader_bridge.cc b/webkit/glue/resource_loader_bridge.cc
index 1e41f22..af77ade 100644
--- a/webkit/glue/resource_loader_bridge.cc
+++ b/webkit/glue/resource_loader_bridge.cc
@@ -26,6 +26,7 @@ ResourceLoaderBridge::ResponseInfo::ResponseInfo() {
appcache_id = appcache::kNoCacheId;
was_fetched_via_spdy = false;
was_npn_negotiated = false;
+ was_alternate_protocol_available = false;
was_fetched_via_proxy = false;
}