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

Side by Side Diff: net/quic/core/crypto/crypto_framer_test.cc

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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/crypto/crypto_framer.h ('k') | net/quic/core/crypto/crypto_handshake.h » ('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/crypto/crypto_framer.h" 5 #include "net/quic/core/crypto/crypto_framer.h"
6 6
7 #include <map> 7 #include <map>
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "net/quic/core/crypto/crypto_handshake.h" 12 #include "net/quic/core/crypto/crypto_handshake.h"
13 #include "net/quic/core/crypto/crypto_protocol.h" 13 #include "net/quic/core/crypto/crypto_protocol.h"
14 #include "net/quic/core/quic_protocol.h" 14 #include "net/quic/core/quic_packets.h"
15 #include "net/quic/test_tools/crypto_test_utils.h" 15 #include "net/quic/test_tools/crypto_test_utils.h"
16 #include "net/quic/test_tools/quic_test_utils.h" 16 #include "net/quic/test_tools/quic_test_utils.h"
17 17
18 using base::StringPiece; 18 using base::StringPiece;
19 using std::string; 19 using std::string;
20 20
21 namespace net { 21 namespace net {
22 22
23 namespace { 23 namespace {
24 24
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 }; 460 };
461 461
462 EXPECT_TRUE( 462 EXPECT_TRUE(
463 framer.ProcessInput(StringPiece(AsChars(input), arraysize(input)))); 463 framer.ProcessInput(StringPiece(AsChars(input), arraysize(input))));
464 EXPECT_EQ(0, visitor.error_count_); 464 EXPECT_EQ(0, visitor.error_count_);
465 } 465 }
466 466
467 } // namespace test 467 } // namespace test
468 468
469 } // namespace net 469 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/crypto/crypto_framer.h ('k') | net/quic/core/crypto/crypto_handshake.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698