[MD settings] listen for ntp extension changes

Desktop / Chromium - Dave Schuyler [chromium.org] - 13 July 2017 22:45 EDT

This CL observes changes to extensions that may control the NTP and sends that information to the OnStartup settings page.

Bug: 740779 Change-Id: Icdc539f0fcb64eeb6f0dc6f8eb9ade061d4e870e Reviewed-on: https://chromium-review.googlesource.com/567419 Commit-Queue: Dave Schuyler

7c50f7b [MD settings] listen for ntp extension changes
.../settings/on_startup_page/startup_urls_page.js | 4 +
chrome/browser/ui/webui/settings/md_settings_ui.cc | 4 +-
.../ui/webui/settings/on_startup_handler.cc | 72 +++++++---
.../browser/ui/webui/settings/on_startup_handler.h | 41 +++++-
.../webui/settings/on_startup_handler_unittest.cc | 146 +++++++++++++++++++++
chrome/test/BUILD.gn | 1 +
6 files changed, 242 insertions(+), 26 deletions(-)

Upstream: git.chromium.org


  • Share