ExtensionSyncService: listen for relevant changes instead of being explicitly called...
commit8a6d989860b06e71e552cd47004fc61422482a67
authortreib <treib@chromium.org>
Wed, 26 Aug 2015 10:23:19 +0000 (26 03:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 26 Aug 2015 10:24:27 +0000 (26 10:24 +0000)
tree1e8d1a8bb70591c246ca7c1a38f0d813a9ec385e
parent1ad081869c1c60abc184513ea43f9e6a25a990d7
ExtensionSyncService: listen for relevant changes instead of being explicitly called by clients.

Also, various cleanup related to DisableReasons, which were sometimes set inconsistently vs. the extension's enabled state.
ExtensionPrefs::SetExtensionState now also sets the disable reasons, to make sure they're updated at the same time as the enabled/disabled state.

BUG=None

Review URL: https://codereview.chromium.org/1296703003

Cr-Commit-Position: refs/heads/master@{#345577}
14 files changed:
chrome/browser/apps/ephemeral_app_service.cc
chrome/browser/extensions/api/preference/preference_api_prefs_unittest.cc
chrome/browser/extensions/extension_prefs_unittest.cc
chrome/browser/extensions/extension_service.cc
chrome/browser/extensions/extension_service_unittest.cc
chrome/browser/extensions/extension_sync_service.cc
chrome/browser/extensions/extension_sync_service.h
chrome/browser/extensions/extension_sync_service_factory.cc
chrome/browser/extensions/extension_system_impl.cc
chrome/browser/extensions/installed_loader.cc
chrome/browser/extensions/updater/extension_updater_unittest.cc
extensions/browser/extension_prefs.cc
extensions/browser/extension_prefs.h
extensions/browser/extension_prefs_observer.h