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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 284 |
285 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 285 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
286 // Tell the utility process to attempt to validate the passed media file. The | 286 // Tell the utility process to attempt to validate the passed media file. The |
287 // file will undergo basic sanity checks and will be decoded for up to | 287 // file will undergo basic sanity checks and will be decoded for up to |
288 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode | 288 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode |
289 // the file in the browser process after this check. | 289 // the file in the browser process after this check. |
290 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, | 290 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, |
291 int64 /* milliseconds_of_decoding */, | 291 int64 /* milliseconds_of_decoding */, |
292 IPC::PlatformFileForTransit /* Media file to parse */) | 292 IPC::PlatformFileForTransit /* Media file to parse */) |
293 | 293 |
294 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ParseMediaMetadata, | 294 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_ParseMediaMetadata, |
295 std::string /* mime_type */, | 295 std::string /* mime_type */, int64 /* total_size */, |
296 int64 /* total_size */) | 296 bool /* get_attached_pictures */) |
297 | 297 |
298 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, | 298 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, |
299 int64 /* request_id */, | 299 int64 /* request_id */, |
300 std::string /* bytes */) | 300 std::string /* bytes */) |
301 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 301 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
302 | 302 |
303 // Requests that the utility process write the contents of the source file to | 303 // Requests that the utility process write the contents of the source file to |
304 // the removable drive listed in the target file. The target will be restricted | 304 // the removable drive listed in the target file. The target will be restricted |
305 // to removable drives by the utility process. | 305 // to removable drives by the utility process. |
306 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write, | 306 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, | 474 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, |
475 picasa::AlbumImagesMap /* albums_images */) | 475 picasa::AlbumImagesMap /* albums_images */) |
476 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 476 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
477 | 477 |
478 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 478 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
479 // Reply after checking the passed media file. A true result indicates that | 479 // Reply after checking the passed media file. A true result indicates that |
480 // the file appears to be a well formed media file. | 480 // the file appears to be a well formed media file. |
481 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, | 481 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, |
482 bool /* passed_checks */) | 482 bool /* passed_checks */) |
483 | 483 |
484 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished, | 484 IPC_MESSAGE_CONTROL4(ChromeUtilityHostMsg_ParseMediaMetadata_Finished, |
485 bool /* parse_success */, | 485 bool /* parse_success */, |
486 base::DictionaryValue /* metadata */) | 486 base::DictionaryValue /* metadata */, |
| 487 std::vector<std::string> /* attached_pictures_bytes */, |
| 488 std::vector<std::string> /* attached_pictures_types */) |
487 | 489 |
488 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, | 490 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, |
489 int64 /* request_id */, | 491 int64 /* request_id */, |
490 int64 /* start_byte */, | 492 int64 /* start_byte */, |
491 int64 /* length */) | 493 int64 /* length */) |
492 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 494 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
493 | 495 |
494 // Reply when a write or verify operation succeeds. | 496 // Reply when a write or verify operation succeeds. |
495 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded) | 497 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded) |
496 | 498 |
(...skipping 14 matching lines...) Expand all Loading... |
511 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, | 513 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, |
512 std::string /* ssid */, | 514 std::string /* ssid */, |
513 std::vector<uint8> /* public_key */) | 515 std::vector<uint8> /* public_key */) |
514 | 516 |
515 // Reply after getting WiFi credentials from the system and encrypting them with | 517 // Reply after getting WiFi credentials from the system and encrypting them with |
516 // caller's public key. |success| is false if error occurred. | 518 // caller's public key. |success| is false if error occurred. |
517 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, | 519 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, |
518 std::vector<uint8> /* encrypted_key_data */, | 520 std::vector<uint8> /* encrypted_key_data */, |
519 bool /* success */) | 521 bool /* success */) |
520 #endif // defined(OS_WIN) | 522 #endif // defined(OS_WIN) |
OLD | NEW |