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

Side by Side Diff: net/quic/test_tools/crypto_test_utils.h

Issue 2099123003: Deleting blank lines from argument list of HandshakeWithFakeClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@125448073
Patch Set: Created 4 years, 5 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 | « no previous file | no next file » | 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 #ifndef NET_QUIC_TEST_TOOLS_CRYPTO_TEST_UTILS_H_ 5 #ifndef NET_QUIC_TEST_TOOLS_CRYPTO_TEST_UTILS_H_
6 #define NET_QUIC_TEST_TOOLS_CRYPTO_TEST_UTILS_H_ 6 #define NET_QUIC_TEST_TOOLS_CRYPTO_TEST_UTILS_H_
7 7
8 #include <stdarg.h> 8 #include <stdarg.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // returns: the number of client hellos that the client sent. 87 // returns: the number of client hellos that the client sent.
88 static int HandshakeWithFakeServer(MockQuicConnectionHelper* helper, 88 static int HandshakeWithFakeServer(MockQuicConnectionHelper* helper,
89 MockAlarmFactory* alarm_factory, 89 MockAlarmFactory* alarm_factory,
90 PacketSavingConnection* client_conn, 90 PacketSavingConnection* client_conn,
91 QuicCryptoClientStream* client, 91 QuicCryptoClientStream* client,
92 const FakeServerOptions& options); 92 const FakeServerOptions& options);
93 93
94 // returns: the number of client hellos that the client sent. 94 // returns: the number of client hellos that the client sent.
95 static int HandshakeWithFakeClient(MockQuicConnectionHelper* helper, 95 static int HandshakeWithFakeClient(MockQuicConnectionHelper* helper,
96
97 MockAlarmFactory* alarm_factory, 96 MockAlarmFactory* alarm_factory,
98
99 PacketSavingConnection* server_conn, 97 PacketSavingConnection* server_conn,
100 QuicCryptoServerStream* server, 98 QuicCryptoServerStream* server,
101 const QuicServerId& server_id, 99 const QuicServerId& server_id,
102 const FakeClientOptions& options); 100 const FakeClientOptions& options);
103 101
104 // SetupCryptoServerConfigForTest configures |config| and |crypto_config| 102 // SetupCryptoServerConfigForTest configures |config| and |crypto_config|
105 // with sensible defaults for testing. 103 // with sensible defaults for testing.
106 static void SetupCryptoServerConfigForTest( 104 static void SetupCryptoServerConfigForTest(
107 const QuicClock* clock, 105 const QuicClock* clock,
108 QuicRandom* rand, 106 QuicRandom* rand,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 QuicCryptoServerStream* server); 209 QuicCryptoServerStream* server);
212 210
213 DISALLOW_COPY_AND_ASSIGN(CryptoTestUtils); 211 DISALLOW_COPY_AND_ASSIGN(CryptoTestUtils);
214 }; 212 };
215 213
216 } // namespace test 214 } // namespace test
217 215
218 } // namespace net 216 } // namespace net
219 217
220 #endif // NET_QUIC_TEST_TOOLS_CRYPTO_TEST_UTILS_H_ 218 #endif // NET_QUIC_TEST_TOOLS_CRYPTO_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698