| Index: chrome/common/zip.h
|
| diff --git a/chrome/common/zip.h b/chrome/common/zip.h
|
| index 7b95795a2f20436ed88765e3579663978397122a..882db5e97961503170f1abb83975399c09b25143 100644
|
| --- a/chrome/common/zip.h
|
| +++ b/chrome/common/zip.h
|
| @@ -6,8 +6,7 @@
|
| #define CHROME_COMMON_ZIP_H_
|
|
|
| #include "base/callback.h"
|
| -
|
| -class FilePath;
|
| +#include "base/file_path.h"
|
|
|
| namespace zip {
|
|
|
| @@ -26,6 +25,13 @@ bool ZipWithFilterCallback(const FilePath& src_dir, const FilePath& dest_file,
|
| bool Zip(const FilePath& src_dir, const FilePath& dest_file,
|
| bool include_hidden_files);
|
|
|
| +// Zip the source files listed under src_file_list into dest_file. The src_dir
|
| +// must be a directory. Source files in src_file_list must be children of
|
| +// src_dir to be included in the created zip. Children of src_dir will be at the
|
| +// root level of the created zip.
|
| +bool ZipFileList(const FilePath& src_dir, const FilePath& dest_file,
|
| + const std::vector<FilePath>& src_file_list);
|
| +
|
| // Unzip the contents of zip_file into dest_dir.
|
| bool Unzip(const FilePath& zip_file, const FilePath& dest_dir);
|
|
|
|
|