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

Unified Diff: chrome/common/chrome_utility_messages.h

Issue 1159363002: [Download Notification] Show preview if downloaded file is image (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adressed comment #10 Created 5 years, 6 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 76e7a1c6209d0ccebffa254d5f1f455ab4b50b0b..89c2e866a22d1066a67a3cc31328cdcdbe7757c6 100644
--- a/chrome/common/chrome_utility_messages.h
+++ b/chrome/common/chrome_utility_messages.h
@@ -135,6 +135,12 @@ IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_DecodeImage,
bool /* shrink image if needed for IPC msg limit */,
int /* delegate id */)
+// Tell the utility process to decode the given file.
+IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_DecodeImageByHandle,
+ IPC::PlatformFileForTransit /* image file */,
+ bool /* shrink image if needed for IPC msg limit */,
+ int /* delegate id */)
+
#if defined(OS_CHROMEOS)
// Tell the utility process to decode the given JPEG image data with a robust
// libjpeg codec.

Powered by Google App Engine
This is Rietveld 408576698