Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1858)

Unified Diff: chrome/browser/extensions/permissions_updater.h

Issue 10630021: Modify experimental identity flow to display scope descriptions and details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698