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

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

Issue 2808273006: Landing Recent QUIC changes until Sun Apr 9 16:12:55 (Closed)
Patch Set: increment enabled_options in e2e test Created 3 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
« no previous file with comments | « components/domain_reliability/util.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) 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/time.h" 10 #include "base/time/time.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 CONNECTION_INFO_DEPRECATED_HTTP2_15 = 7, // HTTP/2 draft-15. 43 CONNECTION_INFO_DEPRECATED_HTTP2_15 = 7, // HTTP/2 draft-15.
44 CONNECTION_INFO_HTTP0_9 = 8, 44 CONNECTION_INFO_HTTP0_9 = 8,
45 CONNECTION_INFO_HTTP1_0 = 9, 45 CONNECTION_INFO_HTTP1_0 = 9,
46 CONNECTION_INFO_QUIC_32 = 10, 46 CONNECTION_INFO_QUIC_32 = 10,
47 CONNECTION_INFO_QUIC_33 = 11, 47 CONNECTION_INFO_QUIC_33 = 11,
48 CONNECTION_INFO_QUIC_34 = 12, 48 CONNECTION_INFO_QUIC_34 = 12,
49 CONNECTION_INFO_QUIC_35 = 13, 49 CONNECTION_INFO_QUIC_35 = 13,
50 CONNECTION_INFO_QUIC_36 = 14, 50 CONNECTION_INFO_QUIC_36 = 14,
51 CONNECTION_INFO_QUIC_37 = 15, 51 CONNECTION_INFO_QUIC_37 = 15,
52 CONNECTION_INFO_QUIC_38 = 16, 52 CONNECTION_INFO_QUIC_38 = 16,
53 CONNECTION_INFO_QUIC_39 = 17,
53 NUM_OF_CONNECTION_INFOS, 54 NUM_OF_CONNECTION_INFOS,
54 }; 55 };
55 56
56 // Used for categorizing transactions for reporting in histograms. 57 // Used for categorizing transactions for reporting in histograms.
57 // CacheEntryStatus covers relatively common use cases being measured and 58 // CacheEntryStatus covers relatively common use cases being measured and
58 // considered for optimization. Many use cases that are more complex or 59 // considered for optimization. Many use cases that are more complex or
59 // uncommon are binned as OTHER, and details are not reported. 60 // uncommon are binned as OTHER, and details are not reported.
60 // NOTE: This enumeration is used in histograms, so please do not add entries 61 // NOTE: This enumeration is used in histograms, so please do not add entries
61 // in the middle. 62 // in the middle.
62 enum CacheEntryStatus { 63 enum CacheEntryStatus {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 190
190 // Any metadata asociated with this resource's cached data. 191 // Any metadata asociated with this resource's cached data.
191 scoped_refptr<IOBufferWithSize> metadata; 192 scoped_refptr<IOBufferWithSize> metadata;
192 193
193 static std::string ConnectionInfoToString(ConnectionInfo connection_info); 194 static std::string ConnectionInfoToString(ConnectionInfo connection_info);
194 }; 195 };
195 196
196 } // namespace net 197 } // namespace net
197 198
198 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 199 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « components/domain_reliability/util.cc ('k') | net/http/http_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698