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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 61643015: Adds imageWriterPrivate support for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes comment. Created 6 years, 10 months 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 92bc06e9b2b3c4aff12857a1084463b1d0e688aa..1fc88bf478c01eca3aa80b69c9cf13ac00a995f7 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -273,6 +273,14 @@ IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished,
std::string /* bytes */)
#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
+IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write,
+ base::FilePath /* source file */,
+ base::FilePath /* target file */)
Jorge Lucangeli Obes 2014/02/14 23:35:52 Please amend the comment mentioning that the utili
Drew Haven 2014/02/15 00:07:06 Done. I added better comments to all the messages
+IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Verify,
+ base::FilePath /* source file */,
+ base::FilePath /* target file */)
+IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_ImageWriter_Cancel)
+
//------------------------------------------------------------------------------
// Utility process host messages:
// These are messages from the utility process to the browser.
@@ -439,3 +447,11 @@ IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes,
int64 /* start_byte */,
int64 /* length */)
#endif // !defined(OS_ANDROID) && !defined(OS_IOS)
+
+// Reply and status updates during image writing and verifying operations.
+IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded)
+IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled)
+IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed,
+ std::string /* message */)
+IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress,
+ int64 /* number of bytes processed */)

Powered by Google App Engine
This is Rietveld 408576698