Index: webkit/glue/plugins/plugin_list.cc |
=================================================================== |
--- webkit/glue/plugins/plugin_list.cc (revision 53834) |
+++ webkit/glue/plugins/plugin_list.cc (working copy) |
@@ -108,8 +108,11 @@ |
info->mime_types.clear(); |
- if (mime_types.empty()) |
+ if (mime_types.empty()) { |
+ LOG_IF(ERROR, PluginList::DebugPluginLoading()) |
+ << "Plugin " << pvi.product_name << " has no MIME types, skipping"; |
return false; |
+ } |
info->name = WideToUTF16(pvi.product_name); |
info->desc = WideToUTF16(pvi.file_description); |
@@ -230,6 +233,9 @@ |
void PluginList::LoadPlugin(const FilePath& path, |
std::vector<WebPluginInfo>* plugins) { |
+ LOG_IF(ERROR, PluginList::DebugPluginLoading()) |
+ << "Loading plugin " << path.value(); |
+ |
WebPluginInfo plugin_info; |
const PluginEntryPoints* entry_points; |