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

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

Issue 2487613002: Landing Recent QUIC changes until 12:43 PM, Nov 5, 2016 UTC+8 (Closed)
Patch Set: Created 4 years, 1 month 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_crypto_server_stream.cc ('k') | net/quic/core/quic_crypto_stream.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/quic_crypto_server_stream.h" 5 #include "net/quic/core/quic_crypto_server_stream.h"
6 6
7 #include <map> 7 #include <map>
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 #include "net/quic/core/quic_session.h" 24 #include "net/quic/core/quic_session.h"
25 #include "net/quic/test_tools/crypto_test_utils.h" 25 #include "net/quic/test_tools/crypto_test_utils.h"
26 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" 26 #include "net/quic/test_tools/delayed_verify_strike_register_client.h"
27 #include "net/quic/test_tools/quic_crypto_server_config_peer.h" 27 #include "net/quic/test_tools/quic_crypto_server_config_peer.h"
28 #include "net/quic/test_tools/quic_test_utils.h" 28 #include "net/quic/test_tools/quic_test_utils.h"
29 #include "testing/gmock/include/gmock/gmock.h" 29 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
32 namespace net { 32 namespace net {
33 class QuicConnection; 33 class QuicConnection;
34 class ReliableQuicStream; 34 class QuicStream;
35 } // namespace net 35 } // namespace net
36 36
37 using std::string; 37 using std::string;
38 using testing::_; 38 using testing::_;
39 39
40 namespace net { 40 namespace net {
41 namespace test { 41 namespace test {
42 42
43 class QuicCryptoServerStreamPeer { 43 class QuicCryptoServerStreamPeer {
44 public: 44 public:
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 // Regression test for b/31521252, in which a crash would happen here. 620 // Regression test for b/31521252, in which a crash would happen here.
621 AdvanceHandshakeWithFakeClient(); 621 AdvanceHandshakeWithFakeClient();
622 EXPECT_FALSE(server_stream()->encryption_established()); 622 EXPECT_FALSE(server_stream()->encryption_established());
623 EXPECT_FALSE(server_stream()->handshake_confirmed()); 623 EXPECT_FALSE(server_stream()->handshake_confirmed());
624 } 624 }
625 625
626 } // namespace 626 } // namespace
627 627
628 } // namespace test 628 } // namespace test
629 } // namespace net 629 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_server_stream.cc ('k') | net/quic/core/quic_crypto_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698