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 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <Windows.h> | 8 #include <Windows.h> |
9 #endif // defined(OS_WIN) | 9 #endif // defined(OS_WIN) |
10 | 10 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // Tell the utility process to parse a JSON string into a Value object. | 128 // Tell the utility process to parse a JSON string into a Value object. |
129 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON, | 129 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParseJSON, |
130 std::string /* JSON to parse */) | 130 std::string /* JSON to parse */) |
131 | 131 |
132 // Tell the utility process to decode the given image data. | 132 // Tell the utility process to decode the given image data. |
133 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_DecodeImage, | 133 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_DecodeImage, |
134 std::vector<unsigned char> /* encoded image contents */, | 134 std::vector<unsigned char> /* encoded image contents */, |
135 bool /* shrink image if needed for IPC msg limit */, | 135 bool /* shrink image if needed for IPC msg limit */, |
136 int /* delegate id */) | 136 int /* delegate id */) |
137 | 137 |
| 138 // Tell the utility process to decode the given file. |
| 139 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_DecodeImageByHandle, |
| 140 IPC::PlatformFileForTransit /* image file */, |
| 141 bool /* shrink image if needed for IPC msg limit */, |
| 142 int /* delegate id */) |
| 143 |
138 #if defined(OS_CHROMEOS) | 144 #if defined(OS_CHROMEOS) |
139 // Tell the utility process to decode the given JPEG image data with a robust | 145 // Tell the utility process to decode the given JPEG image data with a robust |
140 // libjpeg codec. | 146 // libjpeg codec. |
141 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustJPEGDecodeImage, | 147 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustJPEGDecodeImage, |
142 std::vector<unsigned char> /* encoded image contents*/, | 148 std::vector<unsigned char> /* encoded image contents*/, |
143 int /* delegate id */) | 149 int /* delegate id */) |
144 #endif // defined(OS_CHROMEOS) | 150 #endif // defined(OS_CHROMEOS) |
145 | 151 |
146 // Tell the utility process to patch the given |input_file| using |patch_file| | 152 // Tell the utility process to patch the given |input_file| using |patch_file| |
147 // and place the output in |output_file|. The patch should use the bsdiff | 153 // and place the output in |output_file|. The patch should use the bsdiff |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 286 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, |
281 base::FilePath /* cache file path */) | 287 base::FilePath /* cache file path */) |
282 #endif // defined(OS_WIN) | 288 #endif // defined(OS_WIN) |
283 | 289 |
284 #if defined(OS_ANDROID) | 290 #if defined(OS_ANDROID) |
285 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level | 291 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level |
286 // of kernel support for seccomp-bpf. | 292 // of kernel support for seccomp-bpf. |
287 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, | 293 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, |
288 bool /* seccomp prctl supported */) | 294 bool /* seccomp prctl supported */) |
289 #endif | 295 #endif |
OLD | NEW |