Index: extensions/utility/utility_handler.cc |
diff --git a/extensions/utility/utility_handler.cc b/extensions/utility/utility_handler.cc |
index ac4d1d309215a01456b70cf177e2996e055bfe0d..59fcdfe38fdd35b144db044544da96cf92368c15 100644 |
--- a/extensions/utility/utility_handler.cc |
+++ b/extensions/utility/utility_handler.cc |
@@ -83,7 +83,8 @@ void UtilityHandler::OnUnzipToDir(const base::FilePath& zip_path, |
const base::FilePath& dir) { |
// First extract only the manifest to determine the extension type. |
if (!zip::UnzipWithFilterCallback(zip_path, dir, |
- base::Bind(&Unpacker::IsManifestFile))) { |
+ base::Bind(&Unpacker::IsManifestFile), |
+ false /* log_skipped_files */)) { |
Send(new ExtensionUtilityHostMsg_UnzipToDir_Failed( |
std::string(kExtensionHandlerUnzipError))); |
ReleaseProcessIfNeeded(); |
@@ -107,7 +108,8 @@ void UtilityHandler::OnUnzipToDir(const base::FilePath& zip_path, |
// TODO(crbug.com/645263): This silently ignores blocked file types. |
// Add install warnings. |
- if (!zip::UnzipWithFilterCallback(zip_path, dir, filetype_filter_cb)) { |
+ if (!zip::UnzipWithFilterCallback(zip_path, dir, filetype_filter_cb, |
+ true /* log_skipped_files */)) { |
Send(new ExtensionUtilityHostMsg_UnzipToDir_Failed( |
std::string(kExtensionHandlerUnzipError))); |
} else { |