Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: chrome/common/unzip.h

Issue 118028: Implements a Zip() utility function. Refactor existing (Closed)
Patch Set: Attempt to get rietveld to recognize copies Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698