Add recommended extension installation support
commitcccacefd3fc1ff73b976144fe1aeb74e47e848e6
authorbinjin <binjin@chromium.org>
Mon, 13 Oct 2014 19:00:20 +0000 (13 12:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 13 Oct 2014 19:00:53 +0000 (13 19:00 +0000)
tree19e40c7b2ab7419415a0bd0a5c27f804cd8273d9
parent4fe17db0bc563f663538bf15a483578d18401957
Add recommended extension installation support

Extensions on recommended installation list will be automatically installed just like forced installed extensions, but are allowed to be disabled (not allowed to be uninstalled).

This CL adds a new ExternalLoader for recommended extension (use EXTERNAL_PREF_DOWNLOAD as location), another MustRemainInstalled() function to interface of ManagementPolicy, and related WebUI changes.

BUG=177351

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

Cr-Commit-Position: refs/heads/master@{#299336}
19 files changed:
chrome/app/generated_resources.grd
chrome/browser/extensions/extension_management.cc
chrome/browser/extensions/extension_management.h
chrome/browser/extensions/extension_service.cc
chrome/browser/extensions/external_policy_loader.cc
chrome/browser/extensions/external_policy_loader.h
chrome/browser/extensions/external_policy_loader_unittest.cc
chrome/browser/extensions/external_provider_impl.cc
chrome/browser/extensions/standard_management_policy_provider.cc
chrome/browser/extensions/standard_management_policy_provider.h
chrome/browser/policy/policy_browsertest.cc
chrome/browser/resources/extensions/extension_list.js
chrome/browser/ui/webui/extensions/extension_settings_handler.cc
extensions/browser/management_policy.cc
extensions/browser/management_policy.h
extensions/browser/management_policy_unittest.cc
extensions/browser/test_management_policy.cc
extensions/browser/test_management_policy.h
extensions/extensions_strings.grd