| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_UNZIP_H_ | |
| 6 #define CHROME_COMMON_UNZIP_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "base/file_path.h" | |
| 11 | |
| 12 // Unzip the contents of zip_file into dest_dir. The complete paths of all | |
| 13 // created files and directories are added to files if it is non-NULL. | |
| 14 // Returns true on success. Does not clean up dest_dir on failure. | |
| 15 // Does not support encrypted or password protected zip files. | |
| 16 bool Unzip(const FilePath& zip_file, const FilePath& dest_dir, | |
| 17 std::vector<FilePath>* files); | |
| 18 | |
| 19 #endif // CHROME_COMMON_UNZIP_H_ | |
| OLD | NEW |