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

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

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 years, 3 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/congestion_control/simulation/switch.cc ('k') | net/quic/core/quic_bandwidth.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) 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 <algorithm> 5 #include <algorithm>
6 #include <cstdint> 6 #include <cstdint>
7 #include <memory> 7 #include <memory>
8 #include <ostream> 8 #include <ostream>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const char kOldConfigId[] = "old-config-id"; 55 const char kOldConfigId[] = "old-config-id";
56 56
57 } // namespace 57 } // namespace
58 58
59 struct TestParams { 59 struct TestParams {
60 TestParams(bool enable_stateless_rejects, 60 TestParams(bool enable_stateless_rejects,
61 bool use_stateless_rejects, 61 bool use_stateless_rejects,
62 QuicVersionVector supported_versions) 62 QuicVersionVector supported_versions)
63 : enable_stateless_rejects(enable_stateless_rejects), 63 : enable_stateless_rejects(enable_stateless_rejects),
64 use_stateless_rejects(use_stateless_rejects), 64 use_stateless_rejects(use_stateless_rejects),
65 supported_versions(supported_versions) {} 65 supported_versions(std::move(supported_versions)) {}
66 66
67 friend ostream& operator<<(ostream& os, const TestParams& p) { 67 friend ostream& operator<<(ostream& os, const TestParams& p) {
68 os << " enable_stateless_rejects: " << p.enable_stateless_rejects 68 os << " enable_stateless_rejects: " << p.enable_stateless_rejects
69 << std::endl; 69 << std::endl;
70 os << " use_stateless_rejects: " << p.use_stateless_rejects << std::endl; 70 os << " use_stateless_rejects: " << p.use_stateless_rejects << std::endl;
71 os << " versions: " << QuicVersionVectorToString(p.supported_versions) 71 os << " versions: " << QuicVersionVectorToString(p.supported_versions)
72 << " }"; 72 << " }";
73 return os; 73 return os;
74 } 74 }
75 75
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 EXPECT_EQ(0, strike_register_client_->PendingVerifications()); 1244 EXPECT_EQ(0, strike_register_client_->PendingVerifications());
1245 } else { 1245 } else {
1246 // version 33. 1246 // version 33.
1247 ASSERT_EQ(kSHLO, out_.tag()); 1247 ASSERT_EQ(kSHLO, out_.tag());
1248 CheckServerHello(out_); 1248 CheckServerHello(out_);
1249 } 1249 }
1250 } 1250 }
1251 1251
1252 } // namespace test 1252 } // namespace test
1253 } // namespace net 1253 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/simulation/switch.cc ('k') | net/quic/core/quic_bandwidth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698