/* * Copyright 2018 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef RTC_BASE_TASK_QUEUE_FOR_TEST_H_ #define RTC_BASE_TASK_QUEUE_FOR_TEST_H_ #include <utility> #include "absl/cleanup/cleanup.h" #include "absl/strings/string_view.h" #include "api/function_view.h" #include "api/task_queue/task_queue_base.h" #include "api/task_queue/task_queue_factory.h" #include "rtc_base/checks.h" #include "rtc_base/event.h" namespace webrtc { inline void SendTask(TaskQueueBase* task_queue, rtc::FunctionView<void()> task) { … } class TaskQueueForTest { … }; } // namespace webrtc #endif // RTC_BASE_TASK_QUEUE_FOR_TEST_H_