Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: webrtc/test/direct_transport.h

Issue 2784543002: Revert of Don't hardcode MediaType::ANY in FakeNetworkPipe. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/call_test.cc ('k') | webrtc/test/direct_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/direct_transport.h
diff --git a/webrtc/test/direct_transport.h b/webrtc/test/direct_transport.h
index 20a6857182b71d545b0d742df3aea61aa31138df..eb552c57c8e29b52bcb1f562d6f36bd98d4266dd 100644
--- a/webrtc/test/direct_transport.h
+++ b/webrtc/test/direct_transport.h
@@ -18,11 +18,11 @@
#include "webrtc/base/criticalsection.h"
#include "webrtc/base/event.h"
#include "webrtc/base/platform_thread.h"
-#include "webrtc/call/call.h"
#include "webrtc/test/fake_network_pipe.h"
namespace webrtc {
+class Call;
class Clock;
class PacketReceiver;
@@ -30,17 +30,8 @@
class DirectTransport : public Transport {
public:
- DirectTransport(Call* send_call, MediaType media_type);
- DirectTransport(const FakeNetworkPipe::Config& config, Call* send_call,
- MediaType media_type);
- // These deprecated variants always use MediaType::VIDEO.
- RTC_DEPRECATED explicit DirectTransport(Call* send_call)
- : DirectTransport(send_call, MediaType::VIDEO) {}
-
- RTC_DEPRECATED DirectTransport(const FakeNetworkPipe::Config& config,
- Call* send_call)
- : DirectTransport(config, send_call, MediaType::VIDEO) {}
-
+ explicit DirectTransport(Call* send_call);
+ DirectTransport(const FakeNetworkPipe::Config& config, Call* send_call);
~DirectTransport();
void SetConfig(const FakeNetworkPipe::Config& config);
« no previous file with comments | « webrtc/test/call_test.cc ('k') | webrtc/test/direct_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698