blob: 6c6ee97c29fc78e187498ddf422141e3ee815e55 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// Copyright (c) 2017 The Chromium Authors. All rights reserved.
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/third_party/quiche/src/quic/quartc/quartc_connection_helper.h"
6
7namespace quic {
8
9QuartcConnectionHelper::QuartcConnectionHelper(const QuicClock* clock)
10 : clock_(clock) {}
11
12const QuicClock* QuartcConnectionHelper::GetClock() const {
13 return clock_;
14}
15
16QuicRandom* QuartcConnectionHelper::GetRandomGenerator() {
17 return QuicRandom::GetInstance();
18}
19
20QuicBufferAllocator* QuartcConnectionHelper::GetStreamSendBufferAllocator() {
21 return &buffer_allocator_;
22}
23
24} // namespace quic