From c8e202f3fcdf131115dac7ddc6778a7e4f80b7fe Mon Sep 17 00:00:00 2001 From: Artem Titov Date: Mon, 27 Aug 2018 14:59:29 +0200 Subject: [PATCH] Minor improve od documentation for network simulation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:9630 Change-Id: I03827b890ab73662117864c16c59f15a9ae3aac8 Reviewed-on: https://webrtc-review.googlesource.com/96200 Reviewed-by: Patrik Höglund Commit-Queue: Artem Titov Cr-Commit-Position: refs/heads/master@{#24453} --- api/test/simulated_network.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/test/simulated_network.h b/api/test/simulated_network.h index 132ebefe38..ed5fd83c2d 100644 --- a/api/test/simulated_network.h +++ b/api/test/simulated_network.h @@ -73,6 +73,8 @@ class NetworkSimulationInterface { // Retrieves all packets that should be delivered by the given receive time. virtual std::vector DequeueDeliverablePackets( int64_t receive_time_us) = 0; + // Returns time in microseconds when caller should call + // DequeueDeliverablePackets to get next set of packets to deliver. virtual absl::optional NextDeliveryTimeUs() const = 0; virtual ~NetworkSimulationInterface() = default; };