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

Side by Side Diff: net/http/http_response_info.h

Issue 2808010: Add field trial stats for alternate_protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_response_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_ 5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_
6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_ 6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_
7 7
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "net/base/auth.h" 9 #include "net/base/auth.h"
10 #include "net/base/io_buffer.h" 10 #include "net/base/io_buffer.h"
(...skipping 20 matching lines...) Expand all
31 // when a user presses the back button to re-render pages, or at startup, 31 // when a user presses the back button to re-render pages, or at startup,
32 // when reloading previously visited pages (without going over the network). 32 // when reloading previously visited pages (without going over the network).
33 bool was_cached; 33 bool was_cached;
34 34
35 // True if the request was fetched over a SPDY channel. 35 // True if the request was fetched over a SPDY channel.
36 bool was_fetched_via_spdy; 36 bool was_fetched_via_spdy;
37 37
38 // True if the npn was negotiated for this request. 38 // True if the npn was negotiated for this request.
39 bool was_npn_negotiated; 39 bool was_npn_negotiated;
40 40
41 // True if response could use alternate protocol. However, browser
42 // will ingore the alternate protocol if spdy is not enabled.
43 bool was_alternate_protocol_available;
44
41 // True if the request was fetched via an explicit proxy. The proxy could 45 // True if the request was fetched via an explicit proxy. The proxy could
42 // be any type of proxy, HTTP or SOCKS. Note, we do not know if a 46 // be any type of proxy, HTTP or SOCKS. Note, we do not know if a
43 // transparent proxy may have been involved. 47 // transparent proxy may have been involved.
44 bool was_fetched_via_proxy; 48 bool was_fetched_via_proxy;
45 49
46 // The time at which the request was made that resulted in this response. 50 // The time at which the request was made that resulted in this response.
47 // For cached responses, this is the last time the cache entry was validated. 51 // For cached responses, this is the last time the cache entry was validated.
48 base::Time request_time; 52 base::Time request_time;
49 53
50 // The time at which the response headers were received. For cached 54 // The time at which the response headers were received. For cached
(...skipping 27 matching lines...) Expand all
78 82
79 // Call this method to persist the response info. 83 // Call this method to persist the response info.
80 void Persist(Pickle* pickle, 84 void Persist(Pickle* pickle,
81 bool skip_transient_headers, 85 bool skip_transient_headers,
82 bool response_truncated) const; 86 bool response_truncated) const;
83 }; 87 };
84 88
85 } // namespace net 89 } // namespace net
86 90
87 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 91 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698