blob: 00253c3c6fc189f748408f13dd636a12e12a40f5 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// Copyright 2018 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#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_
6#define QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_
7
QUICHE team5be974e2020-12-29 18:35:24 -05008#include "quic/core/quic_time.h"
vasilvv00992b12021-05-18 04:27:44 -07009// TODO(b/178613777): move into the common QUICHE platform.
10#include "quiche_platform_impl/quiche_sleep_impl.h"
QUICHE teama6ef0a62019-03-07 20:34:33 -050011
12namespace quic {
13
14inline void QuicSleep(QuicTime::Delta duration) {
15 QuicSleepImpl(duration);
16}
17
18} // namespace quic
19
20#endif // QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_