| Index: third_party/zlib/google/zip.h
|
| diff --git a/third_party/zlib/google/zip.h b/third_party/zlib/google/zip.h
|
| index 3d20e595e1af5a2d36f8fa249c52729f4dbd98af..61080c5a4f75aa0beaff415438bff14c82e0c465 100644
|
| --- a/third_party/zlib/google/zip.h
|
| +++ b/third_party/zlib/google/zip.h
|
| @@ -41,6 +41,14 @@ bool ZipFiles(const base::FilePath& src_dir,
|
| #endif // defined(OS_POSIX)
|
|
|
| // 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.
|
| +typedef base::Callback<bool(const base::FilePath&)> FilterCallback;
|
| +bool UnzipWithFilterCallback(const base::FilePath& zip_file,
|
| + const base::FilePath& dest_dir,
|
| + const FilterCallback& filter_cb);
|
| +
|
| +// Unzip the contents of zip_file into dest_dir.
|
| bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
|
|
| } // namespace zip
|
|
|