[CrOS Settings] Fix a few issues with existing per-page providers
(1) Both the MultiDevice and Internet pages had some loadTimeData added within os_settings_ui.cc, so this CL moves them to their per-page provider instead. (2) Adds explicit dependencies to OsSettingsLocalizedStringsProvider by adding relevant KeyedServices to its constructor. As more are added in subsequent pages, this will make it easier to track which services are used. (3) Minor changes in tests and const getters. Bug: 1069849 Change-Id: I49debfaa32375a585c7003932c8d2daa745168eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153700Reviewed-by:James Cook <jamescook@chromium.org> Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#759844}
Showing
Please register or sign in to comment