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

Unified Diff: chrome/browser/extensions/extension_prefs.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/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index ae05fd960737ac0aa723ae5683a6e3a92f1e70e1..f524794d299c8d4a710d1ba95e8367f9bb167be5 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -260,6 +260,10 @@ class ExtensionPrefs : public extensions::ContentSettingsStore::Observer,
void AddGrantedPermissions(const std::string& extension_id,
const ExtensionPermissionSet* permissions);
+ // As above, but subtracts the given |permissions| from the granted set.
+ void RemoveGrantedPermissions(const std::string& extension_id,
+ const ExtensionPermissionSet* permissions);
+
// Gets the active permission set for the specified extension. This may
// differ from the permissions in the manifest due to the optional
// permissions API. This passes ownership of the set to the caller.

Powered by Google App Engine
This is Rietveld 408576698