/* * Copyright 2019 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 TEST_TIME_CONTROLLER_EXTERNAL_TIME_CONTROLLER_H_ #define TEST_TIME_CONTROLLER_EXTERNAL_TIME_CONTROLLER_H_ #include <functional> #include <memory> #include "absl/strings/string_view.h" #include "api/task_queue/task_queue_base.h" #include "api/task_queue/task_queue_factory.h" #include "api/test/time_controller.h" #include "api/units/time_delta.h" #include "api/units/timestamp.h" #include "system_wrappers/include/clock.h" #include "test/time_controller/simulated_time_controller.h" namespace webrtc { // TimeController implementation built on an external controlled alarm. // This implementation is used to delegate scheduling and execution to an // external run loop. class ExternalTimeController : public TimeController, public TaskQueueFactory { … }; } // namespace webrtc #endif // TEST_TIME_CONTROLLER_EXTERNAL_TIME_CONTROLLER_H_