| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // by parsing all the INI files in Picasa Folders. | 82 // by parsing all the INI files in Picasa Folders. |
| 83 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents, | 83 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_IndexPicasaAlbumsContents, |
| 84 picasa::AlbumUIDSet /* album_uids */, | 84 picasa::AlbumUIDSet /* album_uids */, |
| 85 std::vector<picasa::FolderINIContents> /* folders_inis */) | 85 std::vector<picasa::FolderINIContents> /* folders_inis */) |
| 86 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 86 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 87 | 87 |
| 88 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, | 88 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, |
| 89 int64_t /* request_id */, | 89 int64_t /* request_id */, |
| 90 std::string /* bytes */) | 90 std::string /* bytes */) |
| 91 | 91 |
| 92 // Requests that the utility process write the contents of the source file to | |
| 93 // the removable drive listed in the target file. The target will be restricted | |
| 94 // to removable drives by the utility process. | |
| 95 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write, | |
| 96 base::FilePath /* source file */, | |
| 97 base::FilePath /* target file */) | |
| 98 | |
| 99 // Requests that the utility process verify that the contents of the source file | |
| 100 // was written to the target. As above the target will be restricted to | |
| 101 // removable drives by the utility process. | |
| 102 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Verify, | |
| 103 base::FilePath /* source file */, | |
| 104 base::FilePath /* target file */) | |
| 105 | |
| 106 // Cancels a pending write or verify operation. | |
| 107 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_ImageWriter_Cancel) | |
| 108 | |
| 109 //------------------------------------------------------------------------------ | 92 //------------------------------------------------------------------------------ |
| 110 // Utility process host messages: | 93 // Utility process host messages: |
| 111 // These are messages from the utility process to the browser. | 94 // These are messages from the utility process to the browser. |
| 112 | 95 |
| 113 #if defined(OS_WIN) | 96 #if defined(OS_WIN) |
| 114 // Reply after parsing the iTunes preferences XML file contents with either the | 97 // Reply after parsing the iTunes preferences XML file contents with either the |
| 115 // path to the iTunes directory or an empty FilePath. | 98 // path to the iTunes directory or an empty FilePath. |
| 116 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GotITunesDirectory, | 99 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GotITunesDirectory, |
| 117 base::FilePath /* Path to iTunes library */) | 100 base::FilePath /* Path to iTunes library */) |
| 118 #endif // defined(OS_WIN) | 101 #endif // defined(OS_WIN) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 134 // Reply after indexing the Picasa user-created Album contents by parsing all | 117 // Reply after indexing the Picasa user-created Album contents by parsing all |
| 135 // the INI files in Picasa Folders. | 118 // the INI files in Picasa Folders. |
| 136 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, | 119 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, |
| 137 picasa::AlbumImagesMap /* albums_images */) | 120 picasa::AlbumImagesMap /* albums_images */) |
| 138 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 121 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 139 | 122 |
| 140 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, | 123 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, |
| 141 int64_t /* request_id */, | 124 int64_t /* request_id */, |
| 142 int64_t /* start_byte */, | 125 int64_t /* start_byte */, |
| 143 int64_t /* length */) | 126 int64_t /* length */) |
| 144 | |
| 145 // Reply when a write or verify operation succeeds. | |
| 146 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded) | |
| 147 | |
| 148 // Reply when a write or verify operation has been fully cancelled. | |
| 149 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled) | |
| 150 | |
| 151 // Reply when a write or verify operation fails to complete. | |
| 152 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, | |
| 153 std::string /* message */) | |
| 154 | |
| 155 // Periodic status update about the progress of an operation. | |
| 156 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, | |
| 157 int64_t /* number of bytes processed */) | |
| OLD | NEW |