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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 11309014: File manager: support for zipping selected files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Define zip::ZipFileList method to internalize details with handling file lists. 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/common/chrome_utility_messages.h
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
index cc206902c6ae1a5c92a1a01106ef0941a682d558..d78a1520afe4a79a4719fd15fe58d2fdfe6b0d00 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -100,6 +100,12 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON,
IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults,
std::string /* printer name */)
+// Tell the utility process to create a zip file on the given list of files.
+IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_CreateZipFile,
+ FilePath /* dir_path */,
+ FilePath /* dest_path */,
+ std::vector<FilePath> /* file_paths */)
+
//------------------------------------------------------------------------------
// Utility process host messages:
// These are messages from the utility process to the browser.
@@ -177,3 +183,9 @@ IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded,
// capabilities and defaults.
IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed,
std::string /* printer name */)
+
+// Reply when the utility process has succeeded in creating the zip file.
+IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded)
+
+// Reply when an error occured in creating the zip file.
+IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed)

Powered by Google App Engine
This is Rietveld 408576698