[Chromecast] Capabilities do not get removed when Validators unregister.
Also removing capability value initialization from Register(). This is done separately now. The unit tests were checking the internal dictionary to test the result of capability changes. This is incorrect. They have been changed to use the public GetCapability() accessor. Also adding a GetValidator() method that is currently used in unit tests but also can be useful in future for checking if a Validator is currently registered for a capability. TEST=cast_base_unittests BUG= Review URL: https://codereview.chromium.org/1401993002 Cr-Commit-Position: refs/heads/master@{#353945}
Showing
This diff is collapsed.
Please register or sign in to comment