OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_framer.h" | 5 #include "net/quic/core/quic_framer.h" |
6 | 6 |
7 #include <cstdint> | 7 #include <cstdint> |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "net/quic/core/crypto/crypto_framer.h" | 11 #include "net/quic/core/crypto/crypto_framer.h" |
12 #include "net/quic/core/crypto/crypto_handshake_message.h" | 12 #include "net/quic/core/crypto/crypto_handshake_message.h" |
13 #include "net/quic/core/crypto/crypto_protocol.h" | 13 #include "net/quic/core/crypto/crypto_protocol.h" |
14 #include "net/quic/core/crypto/null_decrypter.h" | 14 #include "net/quic/core/crypto/null_decrypter.h" |
15 #include "net/quic/core/crypto/null_encrypter.h" | 15 #include "net/quic/core/crypto/null_encrypter.h" |
16 #include "net/quic/core/crypto/quic_decrypter.h" | 16 #include "net/quic/core/crypto/quic_decrypter.h" |
17 #include "net/quic/core/crypto/quic_encrypter.h" | 17 #include "net/quic/core/crypto/quic_encrypter.h" |
18 #include "net/quic/core/quic_data_reader.h" | 18 #include "net/quic/core/quic_data_reader.h" |
19 #include "net/quic/core/quic_data_writer.h" | 19 #include "net/quic/core/quic_data_writer.h" |
20 #include "net/quic/core/quic_flags.h" | |
21 #include "net/quic/core/quic_socket_address_coder.h" | 20 #include "net/quic/core/quic_socket_address_coder.h" |
22 #include "net/quic/core/quic_utils.h" | 21 #include "net/quic/core/quic_utils.h" |
23 #include "net/quic/platform/api/quic_aligned.h" | 22 #include "net/quic/platform/api/quic_aligned.h" |
24 #include "net/quic/platform/api/quic_bug_tracker.h" | 23 #include "net/quic/platform/api/quic_bug_tracker.h" |
25 #include "net/quic/platform/api/quic_flag_utils.h" | 24 #include "net/quic/platform/api/quic_flag_utils.h" |
| 25 #include "net/quic/platform/api/quic_flags.h" |
26 #include "net/quic/platform/api/quic_logging.h" | 26 #include "net/quic/platform/api/quic_logging.h" |
27 #include "net/quic/platform/api/quic_map_util.h" | 27 #include "net/quic/platform/api/quic_map_util.h" |
28 #include "net/quic/platform/api/quic_ptr_util.h" | 28 #include "net/quic/platform/api/quic_ptr_util.h" |
29 | 29 |
30 using std::string; | 30 using std::string; |
31 | 31 |
32 namespace net { | 32 namespace net { |
33 | 33 |
34 namespace { | 34 namespace { |
35 | 35 |
(...skipping 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2155 | 2155 |
2156 bool QuicFramer::RaiseError(QuicErrorCode error) { | 2156 bool QuicFramer::RaiseError(QuicErrorCode error) { |
2157 QUIC_DLOG(INFO) << ENDPOINT << "Error: " << QuicErrorCodeToString(error) | 2157 QUIC_DLOG(INFO) << ENDPOINT << "Error: " << QuicErrorCodeToString(error) |
2158 << " detail: " << detailed_error_; | 2158 << " detail: " << detailed_error_; |
2159 set_error(error); | 2159 set_error(error); |
2160 visitor_->OnError(this); | 2160 visitor_->OnError(this); |
2161 return false; | 2161 return false; |
2162 } | 2162 } |
2163 | 2163 |
2164 } // namespace net | 2164 } // namespace net |
OLD | NEW |