| 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/quic_framer.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <cstdint> |
| 8 #include <memory> |
| 8 | 9 |
| 9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 11 #include "base/logging.h" |
| 11 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
| 12 #include "net/quic/crypto/crypto_framer.h" | 13 #include "net/quic/crypto/crypto_framer.h" |
| 13 #include "net/quic/crypto/crypto_handshake_message.h" | 14 #include "net/quic/crypto/crypto_handshake_message.h" |
| 14 #include "net/quic/crypto/crypto_protocol.h" | 15 #include "net/quic/crypto/crypto_protocol.h" |
| 15 #include "net/quic/crypto/quic_decrypter.h" | 16 #include "net/quic/crypto/quic_decrypter.h" |
| 16 #include "net/quic/crypto/quic_encrypter.h" | 17 #include "net/quic/crypto/quic_encrypter.h" |
| 17 #include "net/quic/quic_bug_tracker.h" | 18 #include "net/quic/quic_bug_tracker.h" |
| (...skipping 2238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2256 | 2257 |
| 2257 bool QuicFramer::RaiseError(QuicErrorCode error) { | 2258 bool QuicFramer::RaiseError(QuicErrorCode error) { |
| 2258 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error) | 2259 DVLOG(1) << "Error: " << QuicUtils::ErrorToString(error) |
| 2259 << " detail: " << detailed_error_; | 2260 << " detail: " << detailed_error_; |
| 2260 set_error(error); | 2261 set_error(error); |
| 2261 visitor_->OnError(this); | 2262 visitor_->OnError(this); |
| 2262 return false; | 2263 return false; |
| 2263 } | 2264 } |
| 2264 | 2265 |
| 2265 } // namespace net | 2266 } // namespace net |
| OLD | NEW |