CallTest: migrate timeouts to TimeDelta.

Bug: webrtc:13756
Change-Id: I1b6675dfd1f0b9f3868c0db81d24e9a80d90657d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271483
Auto-Submit: Markus Handell <handellm@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Commit-Queue: Gustaf Ullberg <gustaf@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37794}
diff --git a/test/call_test.cc b/test/call_test.cc
index 7e7a87c..b0dca88 100644
--- a/test/call_test.cc
+++ b/test/call_test.cc
@@ -700,8 +700,6 @@
 const int CallTest::kDefaultWidth;
 const int CallTest::kDefaultHeight;
 const int CallTest::kDefaultFramerate;
-const int CallTest::kDefaultTimeoutMs = 30 * 1000;
-const int CallTest::kLongTimeoutMs = 120 * 1000;
 const uint32_t CallTest::kSendRtxSsrcs[kNumSsrcs] = {
     0xBADCAFD, 0xBADCAFE, 0xBADCAFF, 0xBADCB00, 0xBADCB01, 0xBADCB02};
 const uint32_t CallTest::kVideoSendSsrcs[kNumSsrcs] = {
@@ -724,7 +722,7 @@
 
 BaseTest::BaseTest() {}
 
-BaseTest::BaseTest(int timeout_ms) : RtpRtcpObserver(timeout_ms) {}
+BaseTest::BaseTest(TimeDelta timeout) : RtpRtcpObserver(timeout) {}
 
 BaseTest::~BaseTest() {}
 
@@ -815,7 +813,7 @@
 
 void BaseTest::OnStreamsStopped() {}
 
-SendTest::SendTest(int timeout_ms) : BaseTest(timeout_ms) {}
+SendTest::SendTest(TimeDelta timeout) : BaseTest(timeout) {}
 
 bool SendTest::ShouldCreateReceivers() const {
   return false;
@@ -823,7 +821,7 @@
 
 EndToEndTest::EndToEndTest() {}
 
-EndToEndTest::EndToEndTest(int timeout_ms) : BaseTest(timeout_ms) {}
+EndToEndTest::EndToEndTest(TimeDelta timeout) : BaseTest(timeout) {}
 
 bool EndToEndTest::ShouldCreateReceivers() const {
   return true;