| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included message file, so no include guard. | 5 // Multiply-included message file, so no include guard. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64, | 78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64, |
| 79 std::string) // base64 encoded image contents | 79 std::string) // base64 encoded image contents |
| 80 | 80 |
| 81 // Tell the utility process to render the given PDF into a metafile. | 81 // Tell the utility process to render the given PDF into a metafile. |
| 82 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile, | 82 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile, |
| 83 base::PlatformFile, // PDF file | 83 base::PlatformFile, // PDF file |
| 84 FilePath, // Location for output metafile | 84 FilePath, // Location for output metafile |
| 85 printing::PdfRenderSettings, // PDF render settitngs | 85 printing::PdfRenderSettings, // PDF render settitngs |
| 86 std::vector<printing::PageRange>) | 86 std::vector<printing::PageRange>) |
| 87 | 87 |
| 88 // Tell the utility process to decode the given JPEG image data with a robust |
| 89 // libjpeg codec. |
| 90 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_RobustJPEGDecodeImage, |
| 91 std::vector<unsigned char>) // encoded image contents |
| 92 |
| 88 // Tell the utility process to parse a JSON string into a Value object. | 93 // Tell the utility process to parse a JSON string into a Value object. |
| 89 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON, | 94 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON, |
| 90 std::string /* JSON to parse */) | 95 std::string /* JSON to parse */) |
| 91 | 96 |
| 92 // Tells the utility process to get capabilities and defaults for the specified | 97 // Tells the utility process to get capabilities and defaults for the specified |
| 93 // printer. Used on Windows to isolate the service process from printer driver | 98 // printer. Used on Windows to isolate the service process from printer driver |
| 94 // crashes by executing this in a separate process. This does not run in a | 99 // crashes by executing this in a separate process. This does not run in a |
| 95 // sandbox. | 100 // sandbox. |
| 96 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults, | 101 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults, |
| 97 std::string /* printer name */) | 102 std::string /* printer name */) |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // capabilities and defaults. | 171 // capabilities and defaults. |
| 167 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, | 172 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, |
| 168 std::string /* printer name */, | 173 std::string /* printer name */, |
| 169 printing::PrinterCapsAndDefaults) | 174 printing::PrinterCapsAndDefaults) |
| 170 #endif | 175 #endif |
| 171 | 176 |
| 172 // Reply when the utility process has failed to obtain the printer | 177 // Reply when the utility process has failed to obtain the printer |
| 173 // capabilities and defaults. | 178 // capabilities and defaults. |
| 174 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, | 179 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, |
| 175 std::string /* printer name */) | 180 std::string /* printer name */) |
| OLD | NEW |