Index: chrome/common/chrome_utility_messages.h |
diff --git a/chrome/common/chrome_utility_messages.h b/chrome/common/chrome_utility_messages.h |
index c37556541828ffc42136e89a97f32d6dbbc1b9b3..a3f2002686200776e0e9aa943053f8283d2a6b39 100644 |
--- a/chrome/common/chrome_utility_messages.h |
+++ b/chrome/common/chrome_utility_messages.h |
@@ -178,13 +178,19 @@ IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64, |
std::string) // base64 encoded image contents |
// Tell the utility process to render the given PDF into a metafile. |
-// TODO(vitalybuka): switch to IPC::PlatformFileForTransit. |
+// TODO(vitalybuka|scottmg): Deprecated, use RenderPDFPagesToMetafileHandles. |
IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile, |
base::PlatformFile, // PDF file |
base::FilePath, // Location for output metafile |
printing::PdfRenderSettings, // PDF render settings |
std::vector<printing::PageRange>) |
+IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafileHandles, |
+ IPC::PlatformFileForTransit, // PDF file |
+ IPC::PlatformFileForTransit, // Output EMF. |
+ printing::PdfRenderSettings, // PDF render settings |
+ std::vector<printing::PageRange>) |
+ |
// Tell the utility process to render the given PDF into a PWGRaster. |
IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToPWGRaster, |
IPC::PlatformFileForTransit, /* Input PDF file */ |