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

Unified Diff: webrtc/test/fake_network_pipe.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/direct_transport.cc ('k') | webrtc/test/fake_network_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/fake_network_pipe.h
diff --git a/webrtc/test/fake_network_pipe.h b/webrtc/test/fake_network_pipe.h
index 491d703b28aa86e965c84313c88b08953eded5e5..23521248f7d40e0d03211c9d2df531f8427bbe2c 100644
--- a/webrtc/test/fake_network_pipe.h
+++ b/webrtc/test/fake_network_pipe.h
@@ -26,7 +26,6 @@
class Clock;
class CriticalSectionWrapper;
class PacketReceiver;
-enum class MediaType;
class NetworkPacket {
public:
@@ -84,10 +83,9 @@
int avg_burst_loss_length = -1;
};
- FakeNetworkPipe(Clock* clock, const FakeNetworkPipe::Config& config,
- MediaType media_type);
+ FakeNetworkPipe(Clock* clock, const FakeNetworkPipe::Config& config);
FakeNetworkPipe(Clock* clock,
- const FakeNetworkPipe::Config& config, MediaType media_type,
+ const FakeNetworkPipe::Config& config,
uint64_t seed);
~FakeNetworkPipe();
@@ -113,7 +111,6 @@
private:
Clock* const clock_;
- const MediaType media_type_;
rtc::CriticalSection lock_;
PacketReceiver* packet_receiver_;
std::queue<NetworkPacket*> capacity_link_;
« no previous file with comments | « webrtc/test/direct_transport.cc ('k') | webrtc/test/fake_network_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698