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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 220 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
221 | 221 |
222 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 222 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
223 // Tell the utility process to attempt to validate the passed media file. The | 223 // Tell the utility process to attempt to validate the passed media file. The |
224 // file will undergo basic sanity checks and will be decoded for up to | 224 // file will undergo basic sanity checks and will be decoded for up to |
225 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode | 225 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode |
226 // the file in the browser process after this check. | 226 // the file in the browser process after this check. |
227 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, | 227 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, |
228 int64 /* milliseconds_of_decoding */, | 228 int64 /* milliseconds_of_decoding */, |
229 IPC::PlatformFileForTransit /* Media file to parse */) | 229 IPC::PlatformFileForTransit /* Media file to parse */) |
| 230 |
| 231 IPC_MESSAGE_CONTROL1( |
| 232 ChromeUtilityMsg_ParseMediaMetadata, |
| 233 std::string /* mime_type */) |
| 234 |
| 235 IPC_MESSAGE_CONTROL2( |
| 236 ChromeUtilityMsg_ParseMediaMetadata_RequestBlobBytes_Finished, |
| 237 int64 /* request_id */, |
| 238 std::string /* bytes */) |
230 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 239 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
231 | 240 |
232 //------------------------------------------------------------------------------ | 241 //------------------------------------------------------------------------------ |
233 // Utility process host messages: | 242 // Utility process host messages: |
234 // These are messages from the utility process to the browser. | 243 // These are messages from the utility process to the browser. |
235 | 244 |
236 // Reply when the utility process is done unpacking an extension. |manifest| | 245 // Reply when the utility process is done unpacking an extension. |manifest| |
237 // is the parsed manifest.json file. | 246 // is the parsed manifest.json file. |
238 // The unpacker should also have written out files containing the decoded | 247 // The unpacker should also have written out files containing the decoded |
239 // images and message catalogs from the extension. The data is written into a | 248 // images and message catalogs from the extension. The data is written into a |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // the INI files in Picasa Folders. | 374 // the INI files in Picasa Folders. |
366 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, | 375 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, |
367 picasa::AlbumImagesMap /* albums_images */) | 376 picasa::AlbumImagesMap /* albums_images */) |
368 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 377 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
369 | 378 |
370 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 379 #if !defined(OS_ANDROID) && !defined(OS_IOS) |
371 // Reply after checking the passed media file. A true result indicates that | 380 // Reply after checking the passed media file. A true result indicates that |
372 // the file appears to be a well formed media file. | 381 // the file appears to be a well formed media file. |
373 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, | 382 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, |
374 bool /* passed_checks */) | 383 bool /* passed_checks */) |
| 384 |
| 385 IPC_MESSAGE_CONTROL2( |
| 386 ChromeUtilityHostMsg_ParseMediaMetadata_Finished, |
| 387 bool /* parse_success */, |
| 388 base::DictionaryValue /* metadata */) |
| 389 |
| 390 IPC_MESSAGE_CONTROL3( |
| 391 ChromeUtilityHostMsg_ParseMediaMetadata_RequestBlobBytes, |
| 392 int64 /* request_id */, |
| 393 int64 /* start_byte */, |
| 394 int64 /* length */) |
375 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 395 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
OLD | NEW |