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

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

Issue 10854009: Extension white and force lists (set by policy) should have priority over auto-updated Google black… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed loop_.RunAllPending(); Created 8 years, 4 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/crx_installer.cc
diff --git a/chrome/browser/extensions/crx_installer.cc b/chrome/browser/extensions/crx_installer.cc
index dcb1046cfc7d58fc4488769287b85110b2fe3f74..a54e32556f7e5c12bcb0c8982001bf105743da76 100644
--- a/chrome/browser/extensions/crx_installer.cc
+++ b/chrome/browser/extensions/crx_installer.cc
@@ -395,16 +395,6 @@ void CrxInstaller::ConfirmInstall() {
if (!frontend_weak_.get())
return;
- if (frontend_weak_->extension_prefs()
- ->IsExtensionBlacklisted(extension_->id())) {
- VLOG(1) << "This extension: " << extension_->id()
- << " is blacklisted. Install failed.";
- ReportFailureFromUIThread(
- CrxInstallerError(
- l10n_util::GetStringUTF16(IDS_EXTENSION_CANT_INSTALL_BLACKLISTED)));
- return;
- }
-
string16 error;
if (!ExtensionSystem::Get(profile_)->management_policy()->
UserMayLoad(extension_, &error)) {

Powered by Google App Engine
This is Rietveld 408576698