| OLD | NEW |
| 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/http/http_response_info.h" | 9 #include "net/http/http_response_info.h" |
| 9 #include "net/quic/core/quic_protocol.h" | 10 #include "net/quic/core/quic_protocol.h" |
| 10 | 11 |
| 11 namespace net { | 12 namespace net { |
| 12 | 13 |
| 13 // A record of net errors with granular error specification generated by | 14 // A record of net errors with granular error specification generated by |
| 14 // net stack. | 15 // net stack. |
| 15 struct NET_EXPORT NetErrorDetails { | 16 struct NET_EXPORT NetErrorDetails { |
| 16 NetErrorDetails() | 17 NetErrorDetails() |
| 17 : quic_broken(false), | 18 : quic_broken(false), |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 // from response header from the server. | 35 // from response header from the server. |
| 35 HttpResponseInfo::ConnectionInfo connection_info; | 36 HttpResponseInfo::ConnectionInfo connection_info; |
| 36 // 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 |
| 37 // migration with port change. | 38 // migration with port change. |
| 38 bool quic_port_migration_detected; | 39 bool quic_port_migration_detected; |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace net | 42 } // namespace net |
| 42 | 43 |
| 43 #endif | 44 #endif |
| OLD | NEW |