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

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

Issue 935663002: Revert of Allow silent update for default-installed apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/permissions_data.cc
diff --git a/extensions/common/permissions/permissions_data.cc b/extensions/common/permissions/permissions_data.cc
index 16e1147ecbbcacc75a511763aae57f41878dc93d..af405273e3a698f644adf8ee081b235f57ed0ffb 100644
--- a/extensions/common/permissions/permissions_data.cc
+++ b/extensions/common/permissions/permissions_data.cc
@@ -51,8 +51,7 @@
// static
bool PermissionsData::CanSilentlyIncreasePermissions(
const Extension* extension) {
- return extension->location() != Manifest::INTERNAL ||
- extension->creation_flags() & Extension::WAS_INSTALLED_BY_DEFAULT;
+ return extension->location() != Manifest::INTERNAL;
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698