| 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/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 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
| 14 #include "net/quic/crypto/crypto_framer.h" | 14 #include "net/quic/core/crypto/crypto_framer.h" |
| 15 #include "net/quic/crypto/crypto_handshake_message.h" | 15 #include "net/quic/core/crypto/crypto_handshake_message.h" |
| 16 #include "net/quic/crypto/crypto_protocol.h" | 16 #include "net/quic/core/crypto/crypto_protocol.h" |
| 17 #include "net/quic/crypto/quic_decrypter.h" | 17 #include "net/quic/core/crypto/quic_decrypter.h" |
| 18 #include "net/quic/crypto/quic_encrypter.h" | 18 #include "net/quic/core/crypto/quic_encrypter.h" |
| 19 #include "net/quic/quic_bug_tracker.h" | 19 #include "net/quic/core/quic_bug_tracker.h" |
| 20 #include "net/quic/quic_data_reader.h" | 20 #include "net/quic/core/quic_data_reader.h" |
| 21 #include "net/quic/quic_data_writer.h" | 21 #include "net/quic/core/quic_data_writer.h" |
| 22 #include "net/quic/quic_flags.h" | 22 #include "net/quic/core/quic_flags.h" |
| 23 #include "net/quic/quic_socket_address_coder.h" | 23 #include "net/quic/core/quic_socket_address_coder.h" |
| 24 #include "net/quic/quic_utils.h" | 24 #include "net/quic/core/quic_utils.h" |
| 25 | 25 |
| 26 using base::StringPiece; | 26 using base::StringPiece; |
| 27 using std::map; | 27 using std::map; |
| 28 using std::max; | 28 using std::max; |
| 29 using std::min; | 29 using std::min; |
| 30 using std::numeric_limits; | 30 using std::numeric_limits; |
| 31 using std::string; | 31 using std::string; |
| 32 using std::vector; | 32 using std::vector; |
| 33 #define PREDICT_FALSE(x) (x) | 33 #define PREDICT_FALSE(x) (x) |
| 34 | 34 |
| (...skipping 2671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2706 | 2706 |
| 2707 bool QuicFramer::RaiseError(QuicErrorCode error) { | 2707 bool QuicFramer::RaiseError(QuicErrorCode error) { |
| 2708 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error) | 2708 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error) |
| 2709 << " detail: " << detailed_error_; | 2709 << " detail: " << detailed_error_; |
| 2710 set_error(error); | 2710 set_error(error); |
| 2711 visitor_->OnError(this); | 2711 visitor_->OnError(this); |
| 2712 return false; | 2712 return false; |
| 2713 } | 2713 } |
| 2714 | 2714 |
| 2715 } // namespace net | 2715 } // namespace net |
| OLD | NEW |