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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 11309014: File manager: support for zipping selected files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compiler warning: declare base::FileDescriptor a struct, not a class. The struct is put after t… Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/utility/chrome_content_utility_client.h
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index 0aba6093c71bce4fdbed45b96693ab5a9a4e941f..5ef6c704b5f3602aba2ba9cce04ead01337f9786 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -17,6 +17,7 @@ class Importer;
namespace base {
class DictionaryValue;
class Thread;
+struct FileDescriptor;
}
namespace gfx {
@@ -63,6 +64,12 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
const std::vector<unsigned char>& encoded_data);
void OnParseJSON(const std::string& json);
+#if defined(OS_CHROMEOS)
+ void OnCreateZipFile(const FilePath& src_dir,
+ const std::vector<FilePath>& src_relative_paths,
+ const base::FileDescriptor& dest_fd);
+#endif // defined(OS_CHROMEOS)
+
#if defined(OS_WIN)
// Helper method for Windows.
// |highest_rendered_page_number| is set to -1 on failure to render any page.
« no previous file with comments | « chrome/common/extensions/api/file_browser_private.json ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698