| Index: chrome/common/chrome_utility_messages.h
|
| diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
|
| index 3473e6b496599cd23ee0f39dcc7a4891230eaac0..4bc2f0a985c1b93e7aff5bc25cf52bb2a04ac5bd 100644
|
| --- a/chrome/common/chrome_utility_messages.h
|
| +++ b/chrome/common/chrome_utility_messages.h
|
| @@ -139,6 +139,22 @@
|
| //------------------------------------------------------------------------------
|
| // Utility process messages:
|
| // These are messages from the browser to the utility process.
|
| +
|
| +// Tell the utility process to patch the given |input_file| using |patch_file|
|
| +// and place the output in |output_file|. The patch should use the bsdiff
|
| +// algorithm (Courgette's version).
|
| +IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff,
|
| + IPC::PlatformFileForTransit /* input_file */,
|
| + IPC::PlatformFileForTransit /* patch_file */,
|
| + IPC::PlatformFileForTransit /* output_file */)
|
| +
|
| +// Tell the utility process to patch the given |input_file| using |patch_file|
|
| +// and place the output in |output_file|. The patch should use the Courgette
|
| +// algorithm.
|
| +IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileCourgette,
|
| + IPC::PlatformFileForTransit /* input_file */,
|
| + IPC::PlatformFileForTransit /* patch_file */,
|
| + IPC::PlatformFileForTransit /* output_file */)
|
|
|
| #if defined(OS_CHROMEOS)
|
| // Tell the utility process to create a zip file on the given list of files.
|
| @@ -193,6 +209,9 @@
|
| IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackWebResource_Failed,
|
| std::string /* error_message, if any */)
|
|
|
| +// Reply when a file has been patched.
|
| +IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_PatchFile_Finished, int /* result */)
|
| +
|
| #if defined(OS_CHROMEOS)
|
| // Reply when the utility process has succeeded in creating the zip file.
|
| IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded)
|
|
|