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}
This commit is contained in:
Florent Castelli 2023-11-27 14:09:24 +00:00 committed by WebRTC LUCI CQ
parent abc5066bd9
commit fa1e7d2bae

View File

@ -36,7 +36,7 @@ namespace webrtc {
// - 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);