Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1035)

Side by Side Diff: net/quic/core/quic_framer.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_framer.h ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « net/quic/core/quic_framer.h ('k') | net/quic/core/quic_framer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698