| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 std::vector<unsigned char> /* encoded image contents */, | 145 std::vector<unsigned char> /* encoded image contents */, |
| 146 bool /* shrink image if needed for IPC msg limit */, | 146 bool /* shrink image if needed for IPC msg limit */, |
| 147 int /* delegate id */) | 147 int /* delegate id */) |
| 148 | 148 |
| 149 #if defined(OS_CHROMEOS) | 149 #if defined(OS_CHROMEOS) |
| 150 // Tell the utility process to decode the given JPEG image data with a robust | 150 // Tell the utility process to decode the given JPEG image data with a robust |
| 151 // libjpeg codec. | 151 // libjpeg codec. |
| 152 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustJPEGDecodeImage, | 152 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustJPEGDecodeImage, |
| 153 std::vector<unsigned char> /* encoded image contents*/, | 153 std::vector<unsigned char> /* encoded image contents*/, |
| 154 int /* delegate id */) | 154 int /* delegate id */) |
| 155 // Tell the utility process to decode the given PNG image data with a robust |
| 156 // libpng codec. |
| 157 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RobustPNGDecodeImage, |
| 158 std::vector<unsigned char> /* encoded image contents*/, |
| 159 int /* delegate id */) |
| 155 #endif // defined(OS_CHROMEOS) | 160 #endif // defined(OS_CHROMEOS) |
| 156 | 161 |
| 157 // Tell the utility process to patch the given |input_file| using |patch_file| | 162 // Tell the utility process to patch the given |input_file| using |patch_file| |
| 158 // and place the output in |output_file|. The patch should use the bsdiff | 163 // and place the output in |output_file|. The patch should use the bsdiff |
| 159 // algorithm (Courgette's version). | 164 // algorithm (Courgette's version). |
| 160 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff, | 165 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_PatchFileBsdiff, |
| 161 base::FilePath /* input_file */, | 166 base::FilePath /* input_file */, |
| 162 base::FilePath /* patch_file */, | 167 base::FilePath /* patch_file */, |
| 163 base::FilePath /* output_file */) | 168 base::FilePath /* output_file */) |
| 164 | 169 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, | 283 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetOpenFileName_Result, |
| 279 base::FilePath /* directory */, | 284 base::FilePath /* directory */, |
| 280 std::vector<base::FilePath> /* filenames */) | 285 std::vector<base::FilePath> /* filenames */) |
| 281 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) | 286 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_GetSaveFileName_Failed) |
| 282 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, | 287 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetSaveFileName_Result, |
| 283 base::FilePath /* path */, | 288 base::FilePath /* path */, |
| 284 int /* one_based_filter_index */) | 289 int /* one_based_filter_index */) |
| 285 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, | 290 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_BuildDirectWriteFontCache, |
| 286 base::FilePath /* cache file path */) | 291 base::FilePath /* cache file path */) |
| 287 #endif // defined(OS_WIN) | 292 #endif // defined(OS_WIN) |
| OLD | NEW |