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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // pass indeterminate value types by const object reference with our IPC macros, | 260 // pass indeterminate value types by const object reference with our IPC macros, |
261 // so we put the result Value into a ListValue. Handlers should examine the | 261 // so we put the result Value into a ListValue. Handlers should examine the |
262 // first (and only) element of the ListValue for the actual result. | 262 // first (and only) element of the ListValue for the actual result. |
263 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded, | 263 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded, |
264 base::ListValue) | 264 base::ListValue) |
265 | 265 |
266 // Reply when the utility process failed in parsing a JSON string. | 266 // Reply when the utility process failed in parsing a JSON string. |
267 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed, | 267 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed, |
268 std::string /* error message, if any*/) | 268 std::string /* error message, if any*/) |
269 | 269 |
270 #if defined(ENABLE_PRINTING) | 270 #if defined(ENABLE_FULL_PRINTING) |
271 // Reply when the utility process has succeeded in obtaining the printer | 271 // Reply when the utility process has succeeded in obtaining the printer |
272 // capabilities and defaults. | 272 // capabilities and defaults. |
273 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, | 273 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, |
274 std::string /* printer name */, | 274 std::string /* printer name */, |
275 printing::PrinterCapsAndDefaults) | 275 printing::PrinterCapsAndDefaults) |
276 #endif | 276 #endif |
277 | 277 |
278 // Reply when the utility process has failed to obtain the printer | 278 // Reply when the utility process has failed to obtain the printer |
279 // capabilities and defaults. | 279 // capabilities and defaults. |
280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, | 280 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, | 322 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, |
323 picasa::AlbumImagesMap /* albums_images */) | 323 picasa::AlbumImagesMap /* albums_images */) |
324 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 324 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
325 | 325 |
326 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 326 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
327 // Reply after checking the passed media file. A true result indicates that | 327 // Reply after checking the passed media file. A true result indicates that |
328 // the file appears to be a well formed media file. | 328 // the file appears to be a well formed media file. |
329 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, | 329 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, |
330 bool /* passed_checks */) | 330 bool /* passed_checks */) |
331 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 331 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
OLD | NEW |