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

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: sync 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 ed666ff0c08ccac6b573a56d3dd22d6aab973499..ce601eb23cf0e61a529f789cdd5fb7732a4b75b3 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,
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/permissions_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698