| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_COMMON_ZIP_INTERNAL_H_ | 5 #ifndef COMPONENTS_ZIP_ZIP_INTERNAL_H_ |
| 6 #define CHROME_COMMON_ZIP_INTERNAL_H_ | 6 #define COMPONENTS_ZIP_ZIP_INTERNAL_H_ |
| 7 | 7 |
| 8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 9 #include <windows.h> | 9 #include <windows.h> |
| 10 #endif | 10 #endif |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #if defined(USE_SYSTEM_MINIZIP) | 14 #if defined(USE_SYSTEM_MINIZIP) |
| 15 #include <minizip/unzip.h> | 15 #include <minizip/unzip.h> |
| 16 #include <minizip/zip.h> | 16 #include <minizip/zip.h> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 // passed to zipOpen2(). | 52 // passed to zipOpen2(). |
| 53 zipFile OpenFdForZipping(int zip_fd, int append_flag); | 53 zipFile OpenFdForZipping(int zip_fd, int append_flag); |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 const int kZipMaxPath = 256; | 56 const int kZipMaxPath = 256; |
| 57 const int kZipBufSize = 8192; | 57 const int kZipBufSize = 8192; |
| 58 | 58 |
| 59 } // namespace internal | 59 } // namespace internal |
| 60 } // namespace zip | 60 } // namespace zip |
| 61 | 61 |
| 62 #endif // CHROME_COMMON_ZIP_INTERNAL_H_ | 62 #endif // COMPONENTS_ZIP_ZIP_INTERNAL_H_ |
| OLD | NEW |