Chromium Code Reviews| 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..fd8d8f62ba073b8d2a4c0241009e0cc418bcc34a 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 |
|
Finnur
2014/10/06 14:01:42
nit: Add a trailing comma, so that the next time w
binjin
2014/10/06 18:48:48
Done.
|
| }; |
| 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_; |