xref: /aosp_15_r20/external/cronet/net/quic/test_quic_crypto_client_config_handle.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2019 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/quic/test_quic_crypto_client_config_handle.h"
6 
7 namespace net {
8 
TestQuicCryptoClientConfigHandle(quic::QuicCryptoClientConfig * crypto_config)9 TestQuicCryptoClientConfigHandle::TestQuicCryptoClientConfigHandle(
10     quic::QuicCryptoClientConfig* crypto_config)
11     : crypto_config_(crypto_config) {}
12 
13 TestQuicCryptoClientConfigHandle::~TestQuicCryptoClientConfigHandle() = default;
14 
GetConfig() const15 quic::QuicCryptoClientConfig* TestQuicCryptoClientConfigHandle::GetConfig()
16     const {
17   return crypto_config_;
18 }
19 
20 }  // namespace net
21