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 "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "net/quic/core/crypto/crypto_framer.h" | 14 #include "net/quic/core/crypto/crypto_framer.h" |
15 #include "net/quic/core/crypto/crypto_handshake_message.h" | 15 #include "net/quic/core/crypto/crypto_handshake_message.h" |
16 #include "net/quic/core/crypto/crypto_protocol.h" | 16 #include "net/quic/core/crypto/crypto_protocol.h" |
17 #include "net/quic/core/crypto/null_decrypter.h" | 17 #include "net/quic/core/crypto/null_decrypter.h" |
18 #include "net/quic/core/crypto/null_encrypter.h" | 18 #include "net/quic/core/crypto/null_encrypter.h" |
19 #include "net/quic/core/crypto/quic_decrypter.h" | 19 #include "net/quic/core/crypto/quic_decrypter.h" |
20 #include "net/quic/core/crypto/quic_encrypter.h" | 20 #include "net/quic/core/crypto/quic_encrypter.h" |
21 #include "net/quic/core/quic_bug_tracker.h" | |
22 #include "net/quic/core/quic_data_reader.h" | 21 #include "net/quic/core/quic_data_reader.h" |
23 #include "net/quic/core/quic_data_writer.h" | 22 #include "net/quic/core/quic_data_writer.h" |
24 #include "net/quic/core/quic_flags.h" | 23 #include "net/quic/core/quic_flags.h" |
25 #include "net/quic/core/quic_socket_address_coder.h" | 24 #include "net/quic/core/quic_socket_address_coder.h" |
26 #include "net/quic/core/quic_utils.h" | 25 #include "net/quic/core/quic_utils.h" |
27 #include "net/quic/platform/api/quic_aligned.h" | 26 #include "net/quic/platform/api/quic_aligned.h" |
| 27 #include "net/quic/platform/api/quic_bug_tracker.h" |
28 | 28 |
29 using base::ContainsKey; | 29 using base::ContainsKey; |
30 using base::StringPiece; | 30 using base::StringPiece; |
31 using std::string; | 31 using std::string; |
32 #define PREDICT_FALSE(x) (x) | 32 #define PREDICT_FALSE(x) (x) |
33 | 33 |
34 namespace net { | 34 namespace net { |
35 | 35 |
36 namespace { | 36 namespace { |
37 | 37 |
(...skipping 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 | 2200 |
2201 bool QuicFramer::RaiseError(QuicErrorCode error) { | 2201 bool QuicFramer::RaiseError(QuicErrorCode error) { |
2202 DVLOG(1) << ENDPOINT << "Error: " << QuicErrorCodeToString(error) | 2202 DVLOG(1) << ENDPOINT << "Error: " << QuicErrorCodeToString(error) |
2203 << " detail: " << detailed_error_; | 2203 << " detail: " << detailed_error_; |
2204 set_error(error); | 2204 set_error(error); |
2205 visitor_->OnError(this); | 2205 visitor_->OnError(this); |
2206 return false; | 2206 return false; |
2207 } | 2207 } |
2208 | 2208 |
2209 } // namespace net | 2209 } // namespace net |
OLD | NEW |