| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParsePicasaPMPDatabase, | 83 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParsePicasaPMPDatabase, |
| 84 picasa::AlbumTableFilesForTransit /* album_table_files */) | 84 picasa::AlbumTableFilesForTransit /* album_table_files */) |
| 85 | 85 |
| 86 // Tells the utility process to index the Picasa user-created Album contents | 86 // Tells the utility process to index the Picasa user-created Album contents |
| 87 // by parsing all the INI files in Picasa Folders. | 87 // by parsing all the INI files in Picasa Folders. |
| 88 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents, | 88 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents, |
| 89 picasa::AlbumUIDSet /* album_uids */, | 89 picasa::AlbumUIDSet /* album_uids */, |
| 90 std::vector<picasa::FolderINIContents> /* folders_inis */) | 90 std::vector<picasa::FolderINIContents> /* folders_inis */) |
| 91 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 91 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 92 | 92 |
| 93 // Tell the utility process to attempt to validate the passed media file. The | |
| 94 // file will undergo basic sanity checks and will be decoded for up to | |
| 95 // |milliseconds_of_decoding| wall clock time. It is still not safe to decode | |
| 96 // the file in the browser process after this check. | |
| 97 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_CheckMediaFile, | |
| 98 int64_t /* milliseconds_of_decoding */, | |
| 99 IPC::PlatformFileForTransit /* Media file to parse */) | |
| 100 | |
| 101 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_ParseMediaMetadata, | 93 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_ParseMediaMetadata, |
| 102 std::string /* mime_type */, | 94 std::string /* mime_type */, |
| 103 int64_t /* total_size */, | 95 int64_t /* total_size */, |
| 104 bool /* get_attached_images */) | 96 bool /* get_attached_images */) |
| 105 | 97 |
| 106 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, | 98 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, |
| 107 int64_t /* request_id */, | 99 int64_t /* request_id */, |
| 108 std::string /* bytes */) | 100 std::string /* bytes */) |
| 109 | 101 |
| 110 // Requests that the utility process write the contents of the source file to | 102 // Requests that the utility process write the contents of the source file to |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 bool /* parse_success */, | 140 bool /* parse_success */, |
| 149 std::vector<picasa::AlbumInfo> /* albums */, | 141 std::vector<picasa::AlbumInfo> /* albums */, |
| 150 std::vector<picasa::AlbumInfo> /* folders */) | 142 std::vector<picasa::AlbumInfo> /* folders */) |
| 151 | 143 |
| 152 // Reply after indexing the Picasa user-created Album contents by parsing all | 144 // Reply after indexing the Picasa user-created Album contents by parsing all |
| 153 // the INI files in Picasa Folders. | 145 // the INI files in Picasa Folders. |
| 154 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, | 146 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, |
| 155 picasa::AlbumImagesMap /* albums_images */) | 147 picasa::AlbumImagesMap /* albums_images */) |
| 156 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 148 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 157 | 149 |
| 158 // Reply after checking the passed media file. A true result indicates that | |
| 159 // the file appears to be a well formed media file. | |
| 160 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_CheckMediaFile_Finished, | |
| 161 bool /* passed_checks */) | |
| 162 | |
| 163 IPC_MESSAGE_CONTROL3( | 150 IPC_MESSAGE_CONTROL3( |
| 164 ChromeUtilityHostMsg_ParseMediaMetadata_Finished, | 151 ChromeUtilityHostMsg_ParseMediaMetadata_Finished, |
| 165 bool /* parse_success */, | 152 bool /* parse_success */, |
| 166 base::DictionaryValue /* metadata */, | 153 base::DictionaryValue /* metadata */, |
| 167 std::vector<metadata::AttachedImage> /* attached_images */) | 154 std::vector<metadata::AttachedImage> /* attached_images */) |
| 168 | 155 |
| 169 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, | 156 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, |
| 170 int64_t /* request_id */, | 157 int64_t /* request_id */, |
| 171 int64_t /* start_byte */, | 158 int64_t /* start_byte */, |
| 172 int64_t /* length */) | 159 int64_t /* length */) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 190 // elevation). | 177 // elevation). |
| 191 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, | 178 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetWiFiCredentials, |
| 192 std::string /* ssid */) | 179 std::string /* ssid */) |
| 193 | 180 |
| 194 // Reply after getting WiFi credentials from the system. |success| is false if | 181 // Reply after getting WiFi credentials from the system. |success| is false if |
| 195 // error occurred. | 182 // error occurred. |
| 196 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, | 183 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotWiFiCredentials, |
| 197 std::string /* key_data */, | 184 std::string /* key_data */, |
| 198 bool /* success */) | 185 bool /* success */) |
| 199 #endif // defined(OS_WIN) | 186 #endif // defined(OS_WIN) |
| OLD | NEW |