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..2a861958389404e390fe5d0c12708bb0b151b026 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 /* src_dir */, |
+ std::vector<FilePath> /* src_relative_paths */, |
+ FilePath /* dest_file */) |
+ |
//------------------------------------------------------------------------------ |
// 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) |