Chromium Code Reviews| Index: chrome/common/zip_internal.h |
| diff --git a/chrome/common/zip_internal.h b/chrome/common/zip_internal.h |
| index 3f750eac7c3e1c8091d6f7f761155d5f1f02a2ff..95359444f7f5e06384d83d9fd234cdbc5e09de54 100644 |
| --- a/chrome/common/zip_internal.h |
| +++ b/chrome/common/zip_internal.h |
| @@ -20,6 +20,11 @@ namespace internal { |
| // Windows. |
| unzFile OpenForUnzipping(const std::string& file_name_utf8); |
| +#if defined(OS_POSIX) |
| +// Opens the file referred to by |zip_fd| for unzipping. |
| +unzFile OpenFdForUnzipping(const int zip_fd); |
|
satorux1
2011/12/12 04:54:14
const int -> int. We don't use 'const' for paramet
Jorge Lucangeli Obes
2011/12/12 23:34:35
Done.
|
| +#endif |
| + |
| // Opens the given file name in UTF-8 for zipping, with some setup for |
| // Windows. |append_flag| will be passed to zipOpen2(). |
| zipFile OpenForZipping(const std::string& file_name_utf8, int append_flag); |