| 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 #if defined(OS_CHROMEOS) |
| 138 // Tell the utility process to decode the given JPEG image data with a robust | 139 // Tell the utility process to decode the given JPEG image data with a robust |
| 139 // libjpeg codec. | 140 // libjpeg codec. |
| 140 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustJPEGDecodeImage, | 141 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustJPEGDecodeImage, |
| 141 std::vector<unsigned char> /* encoded image contents*/, | 142 std::vector<unsigned char> /* encoded image contents*/, |
| 142 int /* delegate id */) | 143 int /* delegate id */) |
| 144 #endif // defined(OS_CHROMEOS) |
| 143 | 145 |
| 144 // Tell the utility process to patch the given |input_file| using |patch_file| | 146 // Tell the utility process to patch the given |input_file| using |patch_file| |
| 145 // and place the output in |output_file|. The patch should use the bsdiff | 147 // and place the output in |output_file|. The patch should use the bsdiff |
| 146 // algorithm (Courgette's version). | 148 // algorithm (Courgette's version). |
| 147 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff, | 149 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff, |
| 148 base::FilePath /* input_file */, | 150 base::FilePath /* input_file */, |
| 149 base::FilePath /* patch_file */, | 151 base::FilePath /* patch_file */, |
| 150 base::FilePath /* output_file */) | 152 base::FilePath /* output_file */) |
| 151 | 153 |
| 152 // Tell the utility process to patch the given |input_file| using |patch_file| | 154 // Tell the utility process to patch the given |input_file| using |patch_file| |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 #endif // defined(OS_WIN) | 282 #endif // defined(OS_WIN) |
| 281 | 283 |
| 282 #if defined(OS_ANDROID) | 284 #if defined(OS_ANDROID) |
| 283 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level | 285 // Reply to ChromeUtilityMsg_DetectSeccompSupport to report the level |
| 284 // of kernel support for seccomp-bpf. | 286 // of kernel support for seccomp-bpf. |
| 285 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, | 287 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultPrctl, |
| 286 bool /* seccomp prctl supported */) | 288 bool /* seccomp prctl supported */) |
| 287 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultSyscall, | 289 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DetectSeccompSupport_ResultSyscall, |
| 288 bool /* seccomp syscall supported */) | 290 bool /* seccomp syscall supported */) |
| 289 #endif | 291 #endif |
| OLD | NEW |