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

Side by Side Diff: net/base/net_error_details.h

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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 | « net/BUILD.gn ('k') | net/data/quic_http_response_cache_data/quic-datatesturl.com/index.html » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BASE_NET_ERROR_DETAILS_H_ 5 #ifndef NET_BASE_NET_ERROR_DETAILS_H_
6 #define NET_BASE_NET_ERROR_DETAILS_H_ 6 #define NET_BASE_NET_ERROR_DETAILS_H_
7 7
8 #include "net/base/net_export.h" 8 #include "net/base/net_export.h"
9 #include "net/http/http_response_info.h" 9 #include "net/http/http_response_info.h"
10 #include "net/quic/core/quic_protocol.h" 10 #include "net/quic/core/quic_packets.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 // A record of net errors with granular error specification generated by 14 // A record of net errors with granular error specification generated by
15 // net stack. 15 // net stack.
16 struct NET_EXPORT NetErrorDetails { 16 struct NET_EXPORT NetErrorDetails {
17 NetErrorDetails() 17 NetErrorDetails()
18 : quic_broken(false), 18 : quic_broken(false),
19 quic_connection_error(QUIC_NO_ERROR), 19 quic_connection_error(QUIC_NO_ERROR),
20 connection_info(HttpResponseInfo::CONNECTION_INFO_UNKNOWN), 20 connection_info(HttpResponseInfo::CONNECTION_INFO_UNKNOWN),
(...skipping 14 matching lines...) Expand all
35 // from response header from the server. 35 // from response header from the server.
36 HttpResponseInfo::ConnectionInfo connection_info; 36 HttpResponseInfo::ConnectionInfo connection_info;
37 // True if receives a GoAway frame from the server due to connection 37 // True if receives a GoAway frame from the server due to connection
38 // migration with port change. 38 // migration with port change.
39 bool quic_port_migration_detected; 39 bool quic_port_migration_detected;
40 }; 40 };
41 41
42 } // namespace net 42 } // namespace net
43 43
44 #endif 44 #endif
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/data/quic_http_response_cache_data/quic-datatesturl.com/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698