Add a helper for creating ChromeOS SWA Web UI Controllers, taking delegates.
Most ChromeOS System Web Apps are defined in a component layer at src/chromeos/components. Some delegate functionality out to the chrome layer via a delegate class implemented in a chrome layer, that is owned by the WebUiController. These tend to use the same pattern of construction, so make a new template function for them, rather than adding explicit specializations. Change-Id: I9b703dbaa8091b9b2d1c51f12e29bf3a7a88e1ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2581715Reviewed-by:calamity <calamity@chromium.org> Commit-Queue: Trent Apted <tapted@chromium.org> Cr-Commit-Position: refs/heads/master@{#835972}
Showing
Please register or sign in to comment