[Chromecast] Break dependency of Controller on ObserverList.
The special properties of ObserverList were not needed because of how Controller uses a Sequencer to avoid concurrent modification. This also avoids heap allocation of iterators and the use of the O(n) memory Itertools.reverse() when closing scopes. Bug: None Test: cast_base_junit_tests Change-Id: I91ef516caf07de8b9a899c17b015f2e2838fee35 Reviewed-on: https://chromium-review.googlesource.com/1191087Reviewed-by:Luke Halliwell <halliwell@chromium.org> Commit-Queue: Simeon Anfinrud <sanfin@chromium.org> Cr-Commit-Position: refs/heads/master@{#586378}
Showing
Please register or sign in to comment