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

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

Issue 13845012: [SPDY] Add flag and about:flags entry for SPDY/4 alpha 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 8 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_spdy3_unittest.cc ('k') | net/http/http_server_properties.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string> 8 #include <string>
9 9
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 12 matching lines...) Expand all
23 class SSLCertRequestInfo; 23 class SSLCertRequestInfo;
24 24
25 class NET_EXPORT HttpResponseInfo { 25 class NET_EXPORT HttpResponseInfo {
26 public: 26 public:
27 // Describes the kind of connection used to fetch this response. 27 // Describes the kind of connection used to fetch this response.
28 enum ConnectionInfo { 28 enum ConnectionInfo {
29 CONNECTION_INFO_UNKNOWN, 29 CONNECTION_INFO_UNKNOWN,
30 CONNECTION_INFO_HTTP1, 30 CONNECTION_INFO_HTTP1,
31 CONNECTION_INFO_SPDY2, 31 CONNECTION_INFO_SPDY2,
32 CONNECTION_INFO_SPDY3, 32 CONNECTION_INFO_SPDY3,
33 CONNECTION_INFO_SPDY3_1, 33 CONNECTION_INFO_SPDY4,
34 CONNECTION_INFO_QUIC1_SPDY3, 34 CONNECTION_INFO_QUIC1_SPDY3,
35 NUM_OF_CONNECTION_INFOS, 35 NUM_OF_CONNECTION_INFOS,
36 }; 36 };
37 37
38 HttpResponseInfo(); 38 HttpResponseInfo();
39 HttpResponseInfo(const HttpResponseInfo& rhs); 39 HttpResponseInfo(const HttpResponseInfo& rhs);
40 ~HttpResponseInfo(); 40 ~HttpResponseInfo();
41 HttpResponseInfo& operator=(const HttpResponseInfo& rhs); 41 HttpResponseInfo& operator=(const HttpResponseInfo& rhs);
42 // Even though we could get away with the copy ctor and default operator=, 42 // Even though we could get away with the copy ctor and default operator=,
43 // that would prevent us from doing a bunch of forward declaration. 43 // that would prevent us from doing a bunch of forward declaration.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // The "Vary" header data for this response. 120 // The "Vary" header data for this response.
121 HttpVaryData vary_data; 121 HttpVaryData vary_data;
122 122
123 // Any metadata asociated with this resource's cached data. 123 // Any metadata asociated with this resource's cached data.
124 scoped_refptr<IOBufferWithSize> metadata; 124 scoped_refptr<IOBufferWithSize> metadata;
125 }; 125 };
126 126
127 } // namespace net 127 } // namespace net
128 128
129 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 129 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_spdy3_unittest.cc ('k') | net/http/http_server_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698