Chromium Code Reviews| Index: chrome/browser/extensions/permissions_updater.h |
| diff --git a/chrome/browser/extensions/permissions_updater.h b/chrome/browser/extensions/permissions_updater.h |
| index f22cdc668bb779a23dbfc435c42943c0e748a2a0..e20676ae8c66d6c413b9923b36b9948042565d8b 100644 |
| --- a/chrome/browser/extensions/permissions_updater.h |
| +++ b/chrome/browser/extensions/permissions_updater.h |
| @@ -27,6 +27,11 @@ class PermissionSet; |
| // and notifies interested parties of the changes. |
| class PermissionsUpdater { |
| public: |
| + enum InitFlag { |
| + INIT_FLAG_NONE = 0, |
| + INIT_FLAG_TRANSIENT = 1 << 0, |
| + }; |
| + |
| explicit PermissionsUpdater(content::BrowserContext* browser_context); |
| ~PermissionsUpdater(); |
| @@ -49,6 +54,7 @@ class PermissionsUpdater { |
| // permissions currently requested by the extension and all the permissions |
| // required by the extension. |
| void InitializePermissions(const Extension* extension); |
| + void InitializePermissions(const Extension* extension, InitFlag init_flag); |
|
gpdavis
2014/08/29 01:12:16
Should we be updating the comment here? I didn't
|
| // Grants any withheld all-hosts (or all-hosts-like) permissions. |
| void GrantWithheldImpliedAllHosts(const Extension* extension); |