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

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

Issue 2875333002: Landing Recent QUIC changes until Mon May 8 21:42:46 2017 +0000 (Closed)
Patch Set: Created 3 years, 7 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 CONNECTION_INFO_QUIC_39 = 17,
54 CONNECTION_INFO_QUIC_40 = 18,
54 NUM_OF_CONNECTION_INFOS, 55 NUM_OF_CONNECTION_INFOS,
55 }; 56 };
56 57
57 // Used for categorizing transactions for reporting in histograms. 58 // Used for categorizing transactions for reporting in histograms.
58 // CacheEntryStatus covers relatively common use cases being measured and 59 // CacheEntryStatus covers relatively common use cases being measured and
59 // considered for optimization. Many use cases that are more complex or 60 // considered for optimization. Many use cases that are more complex or
60 // uncommon are binned as OTHER, and details are not reported. 61 // uncommon are binned as OTHER, and details are not reported.
61 // NOTE: This enumeration is used in histograms, so please do not add entries 62 // NOTE: This enumeration is used in histograms, so please do not add entries
62 // in the middle. 63 // in the middle.
63 enum CacheEntryStatus { 64 enum CacheEntryStatus {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 191
191 // Any metadata asociated with this resource's cached data. 192 // Any metadata asociated with this resource's cached data.
192 scoped_refptr<IOBufferWithSize> metadata; 193 scoped_refptr<IOBufferWithSize> metadata;
193 194
194 static std::string ConnectionInfoToString(ConnectionInfo connection_info); 195 static std::string ConnectionInfoToString(ConnectionInfo connection_info);
195 }; 196 };
196 197
197 } // namespace net 198 } // namespace net
198 199
199 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_ 200 #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