Chromium Code Reviews
Description[Media Router] Implement an internal Media Routes observer.
This observer has two jobs:
1. Keep track of whether there is a local route, so we know when to
pass JoinRoute requests to the MRPM.
2. Keep track of off-the-record route ids, so we know which routes
to terminate when the incognito profile is destroyed.
Feature #2 replaces the existing mechanism for tracking OTR route ids.
Note that this requires adding an Initialize() method to MediaRouterBase, as we
shouldn't create/destroy observers in the MR ctor/dtor.
TODO: Clean up some redundant code in the Mojo unittest.
BUG=599996
Committed: https://crrev.com/bdabddfbfaade62b4e734bb66af4e04dc14a5f6c
Cr-Commit-Position: refs/heads/master@{#390000}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address imcheng@ comments #Patch Set 3 : Fix bad merge & android build #Messages
Total messages: 19 (8 generated)
|