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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "net/quic/core/quic_bug_tracker.h" | |
10 #include "net/quic/core/quic_flags.h" | 9 #include "net/quic/core/quic_flags.h" |
11 #include "net/quic/core/quic_headers_stream.h" | 10 #include "net/quic/core/quic_headers_stream.h" |
| 11 #include "net/quic/platform/api/quic_bug_tracker.h" |
12 #include "net/quic/platform/api/quic_str_cat.h" | 12 #include "net/quic/platform/api/quic_str_cat.h" |
13 | 13 |
14 using base::StringPiece; | 14 using base::StringPiece; |
15 using std::string; | 15 using std::string; |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 class HeaderTableDebugVisitor | 21 class HeaderTableDebugVisitor |
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 set_max_uncompressed_header_bytes); | 737 set_max_uncompressed_header_bytes); |
738 } | 738 } |
739 | 739 |
740 void QuicSpdySession::CloseConnectionWithDetails(QuicErrorCode error, | 740 void QuicSpdySession::CloseConnectionWithDetails(QuicErrorCode error, |
741 const string& details) { | 741 const string& details) { |
742 connection()->CloseConnection( | 742 connection()->CloseConnection( |
743 error, details, ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET); | 743 error, details, ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET); |
744 } | 744 } |
745 | 745 |
746 } // namespace net | 746 } // namespace net |
OLD | NEW |