Chromium Code Reviews| Index: chrome/browser/extensions/extension_service.h |
| diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h |
| index 556adb0025afdec9c42b162005a9cf4879179df8..ddbd1cbbfa61b06f80b9c1cb8930608a92b9b102 100644 |
| --- a/chrome/browser/extensions/extension_service.h |
| +++ b/chrome/browser/extensions/extension_service.h |
| @@ -295,6 +295,15 @@ class ExtensionService |
| // |was_installed_by_default| flag. |
| void DisableUserExtensions(const std::vector<std::string>& except_ids); |
| + // Extensions specified by |extension_ids| should become locked. Extensions |
|
not at google - send to devlin
2014/11/12 18:23:00
You might want to mention that "locking" does impl
Mike Lerman
2014/11/12 20:58:42
Done.
|
| + // are no longer considered enabled or disabled. Blacklisted extensions are |
| + // now considered both blacklisted and locked. |
| + void LockAllExtensions(); |
| + |
| + // All locked extensions should revert to being either enabled or disabled |
| + // as appropriate. |
| + void UnlockAllLockedExtensions(); |
| + |
| // Updates the |extension|'s granted permissions lists to include all |
| // permissions in the |extension|'s manifest and re-enables the |
| // extension. |