Export webrtc::SimulatedNetwork for Chrome component builds
The class will be used to implement WebRTC throttling in Chrome DevTools
and needs to be exported in order to link properly in component builds.
Bug: chromium:490143
Change-Id: I081a081e5cd213ad31aad11b6983073784bb4d8f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/328901
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Auto-Submit: Florent Castelli <orphis@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41251}
diff --git a/call/simulated_network.h b/call/simulated_network.h
index 8597367..02a37a3 100644
--- a/call/simulated_network.h
+++ b/call/simulated_network.h
@@ -36,7 +36,7 @@
// - Extra delay with or without packets reorder
// - Packet overhead
// - Queue max capacity
-class SimulatedNetwork : public SimulatedNetworkInterface {
+class RTC_EXPORT SimulatedNetwork : public SimulatedNetworkInterface {
public:
using Config = BuiltInNetworkBehaviorConfig;
explicit SimulatedNetwork(Config config, uint64_t random_seed = 1);