| Index: chrome/browser/extensions/extensions_service.h
|
| diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h
|
| index f137a9233c9f9a82f1efcb03042aa1fe08abb0c3..7b50fffb4dd01906d12abf6758e26a0b2f0835ef 100644
|
| --- a/chrome/browser/extensions/extensions_service.h
|
| +++ b/chrome/browser/extensions/extensions_service.h
|
| @@ -273,6 +273,15 @@ class ExtensionsService
|
| void EnableExtension(const std::string& extension_id);
|
| void DisableExtension(const std::string& extension_id);
|
|
|
| + // Updates the |extension|'s granted permissions lists to include all
|
| + // permissions in the |extension|'s manifest.
|
| + void GrantPermissions(const Extension* extension);
|
| +
|
| + // Updates the |extension|'s granted permissions lists to include all
|
| + // permissions in the |extension|'s manifest and re-enables the
|
| + // extension.
|
| + void GrantPermissionsAndEnableExtension(const Extension* extension);
|
| +
|
| // Load the extension from the directory |extension_path|.
|
| void LoadExtension(const FilePath& extension_path);
|
|
|
|
|