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

Unified Diff: chrome/browser/ui/views/ash/app_list/extension_app_item.cc

Issue 9694038: OBSOLETE REVIEW. See http://codereview.chromium.org/10382149/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/ui/views/ash/app_list/extension_app_item.cc
===================================================================
--- chrome/browser/ui/views/ash/app_list/extension_app_item.cc (revision 136836)
+++ chrome/browser/ui/views/ash/app_list/extension_app_item.cc (working copy)
@@ -221,7 +221,8 @@
!extension->options_url().is_empty();
} else if (command_id == UNINSTALL) {
const Extension* extension = GetExtension();
- return extension && Extension::UserMayDisable(extension->location());
+ return extension && profile_->GetExtensionService()->
+ extension_management_policy()->UserMayModifyStatus(extension, NULL);
}
return true;
}

Powered by Google App Engine
This is Rietveld 408576698