Removed observer from probe controller.

Replacing observer interface with polling for pending probe clusters.
The purpose is to make it easier to reason about and control side
effects and to prepare for a similar change in the network controller
interface.

Bug: webrtc:8415
Change-Id: I8101cfda22e640a8e0fa75f3f6e63876db826a89
Reviewed-on: https://webrtc-review.googlesource.com/66881
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22775}
This commit is contained in:
Sebastian Jansson
2018-04-06 17:16:06 +02:00
committed by Commit Bot
parent 5817d3dfaa
commit f2e3e7a25a
6 changed files with 85 additions and 71 deletions

View File

@ -348,6 +348,7 @@ void SendSideCongestionController::MaybeCreateControllers() {
controller_ =
controller_factory_->Create(control_handler_.get(), initial_config_);
UpdateStreamsConfig();
UpdateControllerWithTimeInterval();
StartProcessPeriodicTasks();
}