| Index: chrome/common/chrome_utility_messages.h
|
| diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h
|
| index 92bc06e9b2b3c4aff12857a1084463b1d0e688aa..3e8f6c3f2be8b3cdd2a1c5fe5ba74ba3355382f4 100644
|
| --- a/chrome/common/chrome_utility_messages.h
|
| +++ b/chrome/common/chrome_utility_messages.h
|
| @@ -273,6 +273,21 @@ IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished,
|
| std::string /* bytes */)
|
| #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
|
|
|
| +// Requests that the utility process write the contents of the source file to
|
| +// the removable drive listed in the target file. The target will be restricted
|
| +// to removable drives by the utility process.
|
| +IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write,
|
| + base::FilePath /* source file */,
|
| + base::FilePath /* target file */)
|
| +// Requests that the utility process verify that the contents of the source file
|
| +// was written to the target. As above the target will be restricted to
|
| +// removable drives by the utility process.
|
| +IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Verify,
|
| + base::FilePath /* source file */,
|
| + base::FilePath /* target file */)
|
| +// Cancels a pending write or verify operation.
|
| +IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_ImageWriter_Cancel)
|
| +
|
| //------------------------------------------------------------------------------
|
| // Utility process host messages:
|
| // These are messages from the utility process to the browser.
|
| @@ -439,3 +454,14 @@ IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes,
|
| int64 /* start_byte */,
|
| int64 /* length */)
|
| #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
|
| +
|
| +// Reply when a write or verify operation succeeds.
|
| +IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded)
|
| +// Reply when a write or verify operation has been fully cancelled.
|
| +IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled)
|
| +// Reply when a write or verify operation fails to complete.
|
| +IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed,
|
| + std::string /* message */)
|
| +// Periodic status update about the progress of an operation.
|
| +IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress,
|
| + int64 /* number of bytes processed */)
|
|
|