summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/api/test/create_time_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/api/test/create_time_controller.h')
-rw-r--r--third_party/libwebrtc/api/test/create_time_controller.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/third_party/libwebrtc/api/test/create_time_controller.h b/third_party/libwebrtc/api/test/create_time_controller.h
index e7bc9cb465..c8257da650 100644
--- a/third_party/libwebrtc/api/test/create_time_controller.h
+++ b/third_party/libwebrtc/api/test/create_time_controller.h
@@ -12,7 +12,7 @@
#include <memory>
-#include "api/call/call_factory_interface.h"
+#include "api/peer_connection_interface.h"
#include "api/test/time_controller.h"
namespace webrtc {
@@ -24,10 +24,12 @@ std::unique_ptr<TimeController> CreateTimeController(
// Creates a time controller that runs in simulated time.
std::unique_ptr<TimeController> CreateSimulatedTimeController();
-// This is creates a call factory that creates Call instances that are backed by
-// a time controller.
-std::unique_ptr<CallFactoryInterface> CreateTimeControllerBasedCallFactory(
- TimeController* time_controller);
+// Adjusts media `deps` to use clock `time_controller` provides, fills media
+// related dependencies, and enables media support for a PeerConnectionFactory
+// created from `deps`.
+void EnableMediaWithDefaultsAndTimeController(
+ TimeController& time_controller,
+ PeerConnectionFactoryDependencies& deps);
} // namespace webrtc