| Index: extensions/browser/test_management_policy.h
|
| diff --git a/extensions/browser/test_management_policy.h b/extensions/browser/test_management_policy.h
|
| index a9951c7fa9663c0697f56e7a85d95f0751d7738f..6dcf35ac3ea68d011a193392f68f58913a605725 100644
|
| --- a/extensions/browser/test_management_policy.h
|
| +++ b/extensions/browser/test_management_policy.h
|
| @@ -21,7 +21,8 @@ class TestManagementPolicyProvider : public ManagementPolicy::Provider {
|
| PROHIBIT_LOAD = 1 << 0,
|
| PROHIBIT_MODIFY_STATUS = 1 << 1,
|
| MUST_REMAIN_ENABLED = 1 << 2,
|
| - MUST_REMAIN_DISABLED = 1 << 3
|
| + MUST_REMAIN_DISABLED = 1 << 3,
|
| + MUST_REMAIN_INSTALLED = 1 << 4,
|
| };
|
|
|
| static std::string expected_error() {
|
| @@ -49,11 +50,15 @@ class TestManagementPolicyProvider : public ManagementPolicy::Provider {
|
| Extension::DisableReason* reason,
|
| base::string16* error) const override;
|
|
|
| + virtual bool MustRemainInstalled(const Extension* extension,
|
| + base::string16* error) const override;
|
| +
|
| private:
|
| bool may_load_;
|
| bool may_modify_status_;
|
| bool must_remain_enabled_;
|
| bool must_remain_disabled_;
|
| + bool must_remain_installed_;
|
| Extension::DisableReason disable_reason_;
|
|
|
| base::string16 error_message_;
|
|
|