[CrOS MultiDevice] Factor out behavior for interacting with features
In the course of preparing the Settings UI to interact with feature prefs via the MultiDevice service, it became very cumbersome to pass around data without some utilities common to the components. This CL factors out some such utilities into their own behavior and passes around feature data using the behavior Note that this CL does not change the components' relationships with feature prefs as that is in the next change, but the behavior is a convenient intermediate point and should make the other significantly easier to review/work with. Note also that not all the components yet use the behavior but they almost all will as it becomes more relevant over the next few CLs. Change-Id: Iaeec623bd534287893f6c204a0fdf524ac0bfd77 Reviewed-on: https://chromium-review.googlesource.com/1179820Reviewed-by:Hector Carmona <hcarmona@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Commit-Queue: Jordy Greenblatt <jordynass@chromium.org> Cr-Commit-Position: refs/heads/master@{#584812}
Showing
Please register or sign in to comment