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

Side by Side Diff: net/quic/test_tools/mock_crypto_client_stream_factory.cc

Issue 13976007: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated copyright notice Created 7 years, 8 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
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.h ('k') | net/tools/quic/quic_client.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 "net/quic/test_tools/mock_crypto_client_stream_factory.h" 5 #include "net/quic/test_tools/mock_crypto_client_stream_factory.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "net/quic/quic_crypto_client_stream.h" 8 #include "net/quic/quic_crypto_client_stream.h"
9 #include "net/quic/test_tools/mock_crypto_client_stream.h" 9 #include "net/quic/test_tools/mock_crypto_client_stream.h"
10 10
11 using std::string; 11 using std::string;
12 12
13 namespace net { 13 namespace net {
14 14
15 QuicCryptoClientStream* 15 QuicCryptoClientStream*
16 MockCryptoClientStreamFactory::CreateQuicCryptoClientStream( 16 MockCryptoClientStreamFactory::CreateQuicCryptoClientStream(
17 const string& server_hostname,
18 const QuicConfig& config,
17 QuicSession* session, 19 QuicSession* session,
18 const string& server_hostname) { 20 QuicCryptoClientConfig* crypto_config) {
19 return new MockCryptoClientStream(session, server_hostname); 21 return new MockCryptoClientStream(server_hostname, config, session,
22 crypto_config);
20 } 23 }
21 24
22 } // namespace net 25 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/test_tools/mock_crypto_client_stream_factory.h ('k') | net/tools/quic/quic_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698