QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 1 | // 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 team | 5be974e | 2020-12-29 18:35:24 -0500 | [diff] [blame] | 8 | #include "quic/core/quic_time.h" |
vasilvv | 00992b1 | 2021-05-18 04:27:44 -0700 | [diff] [blame] | 9 | // TODO(b/178613777): move into the common QUICHE platform. |
| 10 | #include "quiche_platform_impl/quiche_sleep_impl.h" |
QUICHE team | a6ef0a6 | 2019-03-07 20:34:33 -0500 | [diff] [blame] | 11 | |
| 12 | namespace quic { |
| 13 | |
| 14 | inline void QuicSleep(QuicTime::Delta duration) { |
| 15 | QuicSleepImpl(duration); |
| 16 | } |
| 17 | |
| 18 | } // namespace quic |
| 19 | |
| 20 | #endif // QUICHE_QUIC_PLATFORM_API_QUIC_SLEEP_H_ |