OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "net/quic/core/quic_spdy_session.h" | 5 #include "net/quic/core/quic_spdy_session.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "net/quic/core/quic_flags.h" | |
13 #include "net/quic/core/quic_headers_stream.h" | 12 #include "net/quic/core/quic_headers_stream.h" |
14 #include "net/quic/platform/api/quic_bug_tracker.h" | 13 #include "net/quic/platform/api/quic_bug_tracker.h" |
| 14 #include "net/quic/platform/api/quic_flags.h" |
15 #include "net/quic/platform/api/quic_logging.h" | 15 #include "net/quic/platform/api/quic_logging.h" |
16 #include "net/quic/platform/api/quic_str_cat.h" | 16 #include "net/quic/platform/api/quic_str_cat.h" |
17 | 17 |
18 using std::string; | 18 using std::string; |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 class HeaderTableDebugVisitor | 24 class HeaderTableDebugVisitor |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 set_max_uncompressed_header_bytes); | 767 set_max_uncompressed_header_bytes); |
768 } | 768 } |
769 | 769 |
770 void QuicSpdySession::CloseConnectionWithDetails(QuicErrorCode error, | 770 void QuicSpdySession::CloseConnectionWithDetails(QuicErrorCode error, |
771 const string& details) { | 771 const string& details) { |
772 connection()->CloseConnection( | 772 connection()->CloseConnection( |
773 error, details, ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET); | 773 error, details, ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET); |
774 } | 774 } |
775 | 775 |
776 } // namespace net | 776 } // namespace net |
OLD | NEW |