#include "test/time_controller/real_time_controller.h"
#include "api/field_trials_view.h"
#include "api/task_queue/default_task_queue_factory.h"
#include "rtc_base/null_socket_server.h"
namespace webrtc {
namespace {
class MainThread : public rtc::Thread { … };
}
RealTimeController::RealTimeController(const FieldTrialsView* field_trials)
: … { … }
Clock* RealTimeController::GetClock() { … }
TaskQueueFactory* RealTimeController::GetTaskQueueFactory() { … }
std::unique_ptr<rtc::Thread> RealTimeController::CreateThread(
const std::string& name,
std::unique_ptr<rtc::SocketServer> socket_server) { … }
rtc::Thread* RealTimeController::GetMainThread() { … }
void RealTimeController::AdvanceTime(TimeDelta duration) { … }
}