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

Unified Diff: chrome/browser/extensions/extension_service.cc

Issue 348313003: Create withheld permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_service.cc
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
index ae54e2963508ce2e8dee0a05f969fda85c841647..70dc8bfbacb3bb3b2b135703dd8bf499af6411ff 100644
--- a/chrome/browser/extensions/extension_service.cc
+++ b/chrome/browser/extensions/extension_service.cc
@@ -1571,8 +1571,7 @@ void ExtensionService::AddComponentExtension(const Extension* extension) {
void ExtensionService::CheckPermissionsIncrease(const Extension* extension,
bool is_extension_installed) {
#if defined(ENABLE_EXTENSIONS)
- extensions::PermissionsUpdater(profile_).InitializeActivePermissions(
- extension);
+ extensions::PermissionsUpdater(profile_).InitializePermissions(extension);
// We keep track of all permissions the user has granted each extension.
// This allows extensions to gracefully support backwards compatibility

Powered by Google App Engine
This is Rietveld 408576698