Chromium Code Reviews| 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..0b681af915eb51111861aee245578be01e35f18f 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 |
|
Jorge Lucangeli Obes
2014/02/15 00:14:00
Nit (I'm a terrible human being): consistent spaci
Drew Haven
2014/02/15 01:23:58
I'm a double-spacer out of habit. I specifically
|
| +// 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 */) |