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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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.cc ('k') | net/quic/core/quic_header_list.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/core/quic_framer.h" 5 #include "net/quic/core/quic_framer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstdint> 8 #include <cstdint>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "net/quic/core/crypto/null_decrypter.h" 14 #include "net/quic/core/crypto/null_decrypter.h"
15 #include "net/quic/core/crypto/null_encrypter.h" 15 #include "net/quic/core/crypto/null_encrypter.h"
16 #include "net/quic/core/crypto/quic_decrypter.h" 16 #include "net/quic/core/crypto/quic_decrypter.h"
17 #include "net/quic/core/crypto/quic_encrypter.h" 17 #include "net/quic/core/crypto/quic_encrypter.h"
18 #include "net/quic/core/quic_flags.h"
19 #include "net/quic/core/quic_packets.h" 18 #include "net/quic/core/quic_packets.h"
20 #include "net/quic/core/quic_utils.h" 19 #include "net/quic/core/quic_utils.h"
20 #include "net/quic/platform/api/quic_flags.h"
21 #include "net/quic/platform/api/quic_logging.h" 21 #include "net/quic/platform/api/quic_logging.h"
22 #include "net/quic/platform/api/quic_ptr_util.h" 22 #include "net/quic/platform/api/quic_ptr_util.h"
23 #include "net/quic/test_tools/quic_framer_peer.h" 23 #include "net/quic/test_tools/quic_framer_peer.h"
24 #include "net/quic/test_tools/quic_test_utils.h" 24 #include "net/quic/test_tools/quic_test_utils.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 using std::string; 27 using std::string;
28 using testing::Return; 28 using testing::Return;
29 using testing::Truly; 29 using testing::Truly;
30 using testing::_; 30 using testing::_;
(...skipping 5650 matching lines...) Expand 10 before | Expand all | Expand 10 after
5681 QuicUtils::IsConnectionIdWireFormatBigEndian(framer_.perspective()) 5681 QuicUtils::IsConnectionIdWireFormatBigEndian(framer_.perspective())
5682 ? packet_cid_be 5682 ? packet_cid_be
5683 : packet, 5683 : packet,
5684 QuicUtils::IsConnectionIdWireFormatBigEndian(framer_.perspective()) 5684 QuicUtils::IsConnectionIdWireFormatBigEndian(framer_.perspective())
5685 ? arraysize(packet_cid_be) 5685 ? arraysize(packet_cid_be)
5686 : arraysize(packet)); 5686 : arraysize(packet));
5687 } 5687 }
5688 5688
5689 } // namespace test 5689 } // namespace test
5690 } // namespace net 5690 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_framer.cc ('k') | net/quic/core/quic_header_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698