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

Unified Diff: extensions/common/permissions/permissions_data.h

Issue 934753005: Automatically grant permissions to default-installed extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gah, comment Created 5 years, 10 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
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | extensions/common/permissions/permissions_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/permissions_data.h
diff --git a/extensions/common/permissions/permissions_data.h b/extensions/common/permissions/permissions_data.h
index 38f72662fbb98d3aca5fc671ddb2c52c3b560a02..4739b318892cffacc1432d06990a67480c4a7d67 100644
--- a/extensions/common/permissions/permissions_data.h
+++ b/extensions/common/permissions/permissions_data.h
@@ -58,14 +58,6 @@ class PermissionsData {
PermissionsData(const Extension* extension);
virtual ~PermissionsData();
- // Returns true if the |extension| can silently increase its permission level.
- // Users must approve permissions for unpacked and packed extensions in the
- // following situations:
- // - when installing or upgrading packed extensions
- // - when installing unpacked extensions that have NPAPI plugins
- // - when either type of extension requests optional permissions
- static bool CanSilentlyIncreasePermissions(const Extension* extension);
-
// Returns true if the extension is a COMPONENT extension or is on the
// whitelist of extensions that can script all pages.
static bool CanExecuteScriptEverywhere(const Extension* extension);
« no previous file with comments | « chrome/browser/extensions/extension_service.cc ('k') | extensions/common/permissions/permissions_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698