summaryrefslogtreecommitdiffstats
path: root/net/url_request
diff options
context:
space:
mode:
authorrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 17:50:51 +0000
committerrtenneti@google.com <rtenneti@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-20 17:50:51 +0000
commitc30bcce5bcaac902a63146da6151494b832bac13 (patch)
treef33179c11efe6383ada786fb201fc4a3e5e543e3 /net/url_request
parentebc463107e2892419d560195b8325ba4c3229599 (diff)
downloadchromium_src-c30bcce5bcaac902a63146da6151494b832bac13.zip
chromium_src-c30bcce5bcaac902a63146da6151494b832bac13.tar.gz
chromium_src-c30bcce5bcaac902a63146da6151494b832bac13.tar.bz2
Added protocol_version negotiated with the server.
protocol_version will be printed by the LoadTimes extension. R=willchan BUG=108134 TEST=network unittests Review URL: http://codereview.chromium.org/8914005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request')
-rw-r--r--net/url_request/url_request.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 5e3ca80..081ca28 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -471,18 +471,6 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
// Indicate if this response was fetched from disk cache.
bool was_cached() const { return response_info_.was_cached; }
- // True if response could use alternate protocol. However, browser will
- // ignore the alternate protocol if spdy is not enabled.
- bool was_fetched_via_spdy() const {
- return response_info_.was_fetched_via_spdy;
- }
-
- // Returns true if the URLRequest was delivered after NPN is negotiated,
- // using either SPDY or HTTP.
- bool was_npn_negotiated() const {
- return response_info_.was_npn_negotiated;
- }
-
// Returns true if the URLRequest was delivered through a proxy.
bool was_fetched_via_proxy() const {
return response_info_.was_fetched_via_proxy;