| Index: third_party/zlib/google/zip.h
|
| diff --git a/third_party/zlib/google/zip.h b/third_party/zlib/google/zip.h
|
| index 61080c5a4f75aa0beaff415438bff14c82e0c465..68bed0b302a8506ca3bc15f8ff500c8aebfe4736 100644
|
| --- a/third_party/zlib/google/zip.h
|
| +++ b/third_party/zlib/google/zip.h
|
| @@ -43,10 +43,13 @@ bool ZipFiles(const base::FilePath& src_dir,
|
| // Unzip the contents of zip_file into dest_dir.
|
| // For each file in zip_file, include it only if the callback |filter_cb|
|
| // returns true. Otherwise omit it.
|
| +// If |log_skipped_files| is true, files skipped during extraction are printed
|
| +// to debug log.
|
| typedef base::Callback<bool(const base::FilePath&)> FilterCallback;
|
| bool UnzipWithFilterCallback(const base::FilePath& zip_file,
|
| const base::FilePath& dest_dir,
|
| - const FilterCallback& filter_cb);
|
| + const FilterCallback& filter_cb,
|
| + bool log_skipped_files);
|
|
|
| // Unzip the contents of zip_file into dest_dir.
|
| bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
|
|