| Index: chrome/browser/extensions/permissions_updater.h
|
| diff --git a/chrome/browser/extensions/permissions_updater.h b/chrome/browser/extensions/permissions_updater.h
|
| index 863e620d5c9824fb22d543c329c87731c68d1926..3066c183aa9af79319476b726fc5b16d3bd4c404 100644
|
| --- a/chrome/browser/extensions/permissions_updater.h
|
| +++ b/chrome/browser/extensions/permissions_updater.h
|
| @@ -42,7 +42,8 @@ class PermissionsUpdater {
|
|
|
| // Adds all permissions in the |extension|'s active permissions to its
|
| // granted permission set.
|
| - void GrantActivePermissions(const Extension* extension);
|
| + void GrantActivePermissions(const Extension* extension,
|
| + bool record_oauth2_grant);
|
|
|
| // Sets the |extension|'s active permissions to |permissions|.
|
| void UpdateActivePermissions(const Extension* extension,
|
| @@ -54,6 +55,9 @@ class PermissionsUpdater {
|
| REMOVED,
|
| };
|
|
|
| + // Records the oauth2 grant for the scopes specified in |permissions|.
|
| + void RecordOAuth2Grant(const Extension* extension);
|
| +
|
| // Dispatches specified event to the extension.
|
| void DispatchEvent(const std::string& extension_id,
|
| const char* event_name,
|
|
|