From fa1e7d2baead1905844a748f0889a85a7c94c799 Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Mon, 27 Nov 2023 14:09:24 +0000 Subject: [PATCH] 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 Auto-Submit: Florent Castelli Reviewed-by: Harald Alvestrand Commit-Queue: Harald Alvestrand Cr-Commit-Position: refs/heads/main@{#41251} --- call/simulated_network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/call/simulated_network.h b/call/simulated_network.h index 8597367add..02a37a3c43 100644 --- a/call/simulated_network.h +++ b/call/simulated_network.h @@ -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);