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

Side by Side Diff: net/quic/crypto/crypto_server_test.cc

Issue 131743009: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use size_t instead of int to fix win_x64 compile error Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "base/basictypes.h"
5 #include "base/strings/string_number_conversions.h" 6 #include "base/strings/string_number_conversions.h"
6 #include "crypto/secure_hash.h" 7 #include "crypto/secure_hash.h"
7 #include "net/quic/crypto/crypto_utils.h" 8 #include "net/quic/crypto/crypto_utils.h"
8 #include "net/quic/crypto/quic_crypto_server_config.h" 9 #include "net/quic/crypto/quic_crypto_server_config.h"
9 #include "net/quic/crypto/quic_random.h" 10 #include "net/quic/crypto/quic_random.h"
10 #include "net/quic/quic_utils.h" 11 #include "net/quic/quic_utils.h"
11 #include "net/quic/test_tools/crypto_test_utils.h" 12 #include "net/quic/test_tools/crypto_test_utils.h"
12 #include "net/quic/test_tools/delayed_verify_strike_register_client.h" 13 #include "net/quic/test_tools/delayed_verify_strike_register_client.h"
13 #include "net/quic/test_tools/mock_clock.h" 14 #include "net/quic/test_tools/mock_clock.h"
14 #include "net/quic/test_tools/mock_random.h" 15 #include "net/quic/test_tools/mock_random.h"
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 490
490 strike_register_client_->RunPendingVerifications(); 491 strike_register_client_->RunPendingVerifications();
491 ASSERT_TRUE(called); 492 ASSERT_TRUE(called);
492 EXPECT_EQ(0, strike_register_client_->PendingVerifications()); 493 EXPECT_EQ(0, strike_register_client_->PendingVerifications());
493 // The message should be rejected now. 494 // The message should be rejected now.
494 EXPECT_EQ(kREJ, out_.tag()); 495 EXPECT_EQ(kREJ, out_.tag());
495 } 496 }
496 497
497 } // namespace test 498 } // namespace test
498 } // namespace net 499 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/congestion_control/tcp_cubic_sender_test.cc ('k') | net/quic/crypto/curve25519_key_exchange.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698