Index: chrome/browser/extensions/extension_service.cc |
=================================================================== |
--- chrome/browser/extensions/extension_service.cc (revision 163351) |
+++ chrome/browser/extensions/extension_service.cc (working copy) |
@@ -2191,8 +2191,10 @@ |
if (done) |
return; |
+ Extension::Type type = extension->GetType(); |
int disable_reasons = extension_prefs_->GetDisableReasons(extension->id()); |
- if (disable_reasons == Extension::DISABLE_NONE) { |
+ if (disable_reasons == Extension::DISABLE_NONE && |
+ type == Extension::TYPE_EXTENSION) { |
Extension::Location location = extension->location(); |
if (location == Extension::EXTERNAL_REGISTRY || |
(location == Extension::INTERNAL && !extension->from_webstore())) { |