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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
182 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParsePicasaPMPDatabase, | 182 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParsePicasaPMPDatabase, |
183 picasa::AlbumTableFilesForTransit /* album_table_files */) | 183 picasa::AlbumTableFilesForTransit /* album_table_files */) |
184 | 184 |
185 // Tells the utility process to index the Picasa user-created Album contents | 185 // Tells the utility process to index the Picasa user-created Album contents |
186 // by parsing all the INI files in Picasa Folders. | 186 // by parsing all the INI files in Picasa Folders. |
187 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents, | 187 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents, |
188 picasa::AlbumUIDSet /* album_uids */, | 188 picasa::AlbumUIDSet /* album_uids */, |
189 std::vector<picasa::FolderINIContents> /* folders_inis */) | 189 std::vector<picasa::FolderINIContents> /* folders_inis */) |
190 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 190 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
191 | 191 |
192 // Tell the utility process to attempt to validate the passed media file. The | |
193 // file will undergo basic sanity checks and will be decoded for up to | |
194 // |milliseconds_of_decoding|. It is still not safe to decode the file in the | |
Lei Zhang
2013/08/07 20:56:21
Is the time wall clock time, or time in the media
vandebo (ex-Chrome)
2013/08/07 21:00:43
"wall clock time" added
| |
195 // browser process after this check. | |
196 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, | |
Lei Zhang
2013/08/07 20:56:21
Put this in the OS_WIN / OS_MACOSX section above?
vandebo (ex-Chrome)
2013/08/07 21:00:43
Also applies to Linux.
Lei Zhang
2013/08/07 22:30:14
Oh right. Should this be !(Android || iOS) then, s
vandebo (ex-Chrome)
2013/08/07 23:26:12
Done.
| |
197 int64 /* milliseconds_of_decoding */, | |
198 IPC::PlatformFileForTransit /* Media file to parse */) | |
199 | |
192 //------------------------------------------------------------------------------ | 200 //------------------------------------------------------------------------------ |
193 // Utility process host messages: | 201 // Utility process host messages: |
194 // These are messages from the utility process to the browser. | 202 // These are messages from the utility process to the browser. |
195 | 203 |
196 // Reply when the utility process is done unpacking an extension. |manifest| | 204 // Reply when the utility process is done unpacking an extension. |manifest| |
197 // is the parsed manifest.json file. | 205 // is the parsed manifest.json file. |
198 // The unpacker should also have written out files containing the decoded | 206 // The unpacker should also have written out files containing the decoded |
199 // images and message catalogs from the extension. The data is written into a | 207 // images and message catalogs from the extension. The data is written into a |
200 // DecodedImages struct into a file named kDecodedImagesFilename in the | 208 // DecodedImages struct into a file named kDecodedImagesFilename in the |
201 // directory that was passed in. This is done because the data is too large to | 209 // directory that was passed in. This is done because the data is too large to |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
305 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished, | 313 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_ParsePicasaPMPDatabase_Finished, |
306 bool /* parse_success */, | 314 bool /* parse_success */, |
307 std::vector<picasa::AlbumInfo> /* albums */, | 315 std::vector<picasa::AlbumInfo> /* albums */, |
308 std::vector<picasa::AlbumInfo> /* folders */) | 316 std::vector<picasa::AlbumInfo> /* folders */) |
309 | 317 |
310 // Reply after indexing the Picasa user-created Album contents by parsing all | 318 // Reply after indexing the Picasa user-created Album contents by parsing all |
311 // the INI files in Picasa Folders. | 319 // the INI files in Picasa Folders. |
312 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, | 320 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, |
313 picasa::AlbumImagesMap /* albums_images */) | 321 picasa::AlbumImagesMap /* albums_images */) |
314 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 322 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
323 | |
324 // Reply after checking the passed media file. A true result indicates that | |
325 // the file appears to be a well formed media file. | |
326 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, | |
327 bool /* passed_checks */) | |
OLD | NEW |