Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

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

Issue 3179017: FBTF: Remove "obviously" unneeded standard C++ library #includes. (Closed)
Patch Set: fixed mac oopsie Created 10 years, 4 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
« no previous file with comments | « chrome/common/utility_messages.h ('k') | chrome/default_plugin/plugin_impl_gtk.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef CHROME_COMMON_ZIP_H_
6 #define CHROME_COMMON_ZIP_H_ 6 #define CHROME_COMMON_ZIP_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector>
10
11 #include "base/file_path.h" 9 #include "base/file_path.h"
12 10
13 // Zip the contents of src_dir into dest_file. src_path must be a directory. 11 // Zip the contents of src_dir into dest_file. src_path must be a directory.
14 // An entry will *not* be created in the zip for the root folder -- children 12 // An entry will *not* be created in the zip for the root folder -- children
15 // of src_dir will be at the root level of the created zip. 13 // of src_dir will be at the root level of the created zip.
16 // If |include_hidden_files| is true, files starting with "." are included. 14 // If |include_hidden_files| is true, files starting with "." are included.
17 // Otherwise they are omitted. 15 // Otherwise they are omitted.
18 bool Zip(const FilePath& src_dir, const FilePath& dest_file, 16 bool Zip(const FilePath& src_dir, const FilePath& dest_file,
19 bool include_hidden_files); 17 bool include_hidden_files);
20 18
21 // Unzip the contents of zip_file into dest_dir. 19 // Unzip the contents of zip_file into dest_dir.
22 bool Unzip(const FilePath& zip_file, const FilePath& dest_dir); 20 bool Unzip(const FilePath& zip_file, const FilePath& dest_dir);
23 21
24 #endif // CHROME_COMMON_ZIP_H_ 22 #endif // CHROME_COMMON_ZIP_H_
OLDNEW
« no previous file with comments | « chrome/common/utility_messages.h ('k') | chrome/default_plugin/plugin_impl_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698