Index: extensions/browser/test_management_policy.h |
diff --git a/extensions/browser/test_management_policy.h b/extensions/browser/test_management_policy.h |
index a96cde9df9ae45806936eeab6401f04b63af1ee6..982f8e6d1768268f5477981edf0a0ea98e185594 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_; |