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 "base/containers/hash_tables.h" | 7 #include "base/containers/hash_tables.h" |
8 #include "base/stl_util.h" | 8 #include "base/stl_util.h" |
9 #include "net/quic/crypto/crypto_framer.h" | 9 #include "net/quic/crypto/crypto_framer.h" |
10 #include "net/quic/crypto/crypto_handshake_message.h" | 10 #include "net/quic/crypto/crypto_handshake_message.h" |
| 11 #include "net/quic/crypto/crypto_protocol.h" |
11 #include "net/quic/crypto/quic_decrypter.h" | 12 #include "net/quic/crypto/quic_decrypter.h" |
12 #include "net/quic/crypto/quic_encrypter.h" | 13 #include "net/quic/crypto/quic_encrypter.h" |
13 #include "net/quic/quic_data_reader.h" | 14 #include "net/quic/quic_data_reader.h" |
14 #include "net/quic/quic_data_writer.h" | 15 #include "net/quic/quic_data_writer.h" |
15 #include "net/quic/quic_socket_address_coder.h" | 16 #include "net/quic/quic_socket_address_coder.h" |
16 | 17 |
17 using base::StringPiece; | 18 using base::StringPiece; |
18 using std::make_pair; | 19 using std::make_pair; |
19 using std::map; | 20 using std::map; |
20 using std::max; | 21 using std::max; |
(...skipping 2310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2331 | 2332 |
2332 bool QuicFramer::RaiseError(QuicErrorCode error) { | 2333 bool QuicFramer::RaiseError(QuicErrorCode error) { |
2333 DVLOG(1) << "Error detail: " << detailed_error_; | 2334 DVLOG(1) << "Error detail: " << detailed_error_; |
2334 set_error(error); | 2335 set_error(error); |
2335 visitor_->OnError(this); | 2336 visitor_->OnError(this); |
2336 reader_.reset(NULL); | 2337 reader_.reset(NULL); |
2337 return false; | 2338 return false; |
2338 } | 2339 } |
2339 | 2340 |
2340 } // namespace net | 2341 } // namespace net |
OLD | NEW |