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 #ifndef THIRD_PARTY_ZLIB_GOOGLE_ZIP_READER_H_ | 4 #ifndef THIRD_PARTY_ZLIB_GOOGLE_ZIP_READER_H_ |
5 #define THIRD_PARTY_ZLIB_GOOGLE_ZIP_READER_H_ | 5 #define THIRD_PARTY_ZLIB_GOOGLE_ZIP_READER_H_ |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/file_util.h" |
11 #include "base/files/file.h" | 12 #include "base/files/file.h" |
12 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
13 #include "base/files/file_util.h" | |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 | 17 |
18 #if defined(USE_SYSTEM_MINIZIP) | 18 #if defined(USE_SYSTEM_MINIZIP) |
19 #include <minizip/unzip.h> | 19 #include <minizip/unzip.h> |
20 #else | 20 #else |
21 #include "third_party/zlib/contrib/minizip/unzip.h" | 21 #include "third_party/zlib/contrib/minizip/unzip.h" |
22 #endif | 22 #endif |
23 | 23 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 scoped_ptr<EntryInfo> current_entry_info_; | 228 scoped_ptr<EntryInfo> current_entry_info_; |
229 | 229 |
230 base::WeakPtrFactory<ZipReader> weak_ptr_factory_; | 230 base::WeakPtrFactory<ZipReader> weak_ptr_factory_; |
231 | 231 |
232 DISALLOW_COPY_AND_ASSIGN(ZipReader); | 232 DISALLOW_COPY_AND_ASSIGN(ZipReader); |
233 }; | 233 }; |
234 | 234 |
235 } // namespace zip | 235 } // namespace zip |
236 | 236 |
237 #endif // THIRD_PARTY_ZLIB_GOOGLE_ZIP_READER_H_ | 237 #endif // THIRD_PARTY_ZLIB_GOOGLE_ZIP_READER_H_ |
OLD | NEW |