Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Side by Side Diff: chrome/common/extensions/chrome_utility_extensions_messages.h

Issue 2667443002: Convert utility process ParseMediaMetadata blob reading IPC to mojo (Closed)
Patch Set: Remove the damn helper: call ReleaseProcessIfNeeded directly. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParsePicasaPMPDatabase, 78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_ParsePicasaPMPDatabase,
79 picasa::AlbumTableFilesForTransit /* album_table_files */) 79 picasa::AlbumTableFilesForTransit /* album_table_files */)
80 80
81 // Tells the utility process to index the Picasa user-created Album contents 81 // Tells the utility process to index the Picasa user-created Album contents
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,
89 int64_t /* request_id */,
90 std::string /* bytes */)
91
92 // Requests that the utility process write the contents of the source file to 88 // 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 89 // the removable drive listed in the target file. The target will be restricted
94 // to removable drives by the utility process. 90 // to removable drives by the utility process.
95 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write, 91 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write,
96 base::FilePath /* source file */, 92 base::FilePath /* source file */,
97 base::FilePath /* target file */) 93 base::FilePath /* target file */)
98 94
99 // Requests that the utility process verify that the contents of the source file 95 // 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 96 // was written to the target. As above the target will be restricted to
101 // removable drives by the utility process. 97 // removable drives by the utility process.
(...skipping 28 matching lines...) Expand all
130 bool /* parse_success */, 126 bool /* parse_success */,
131 std::vector<picasa::AlbumInfo> /* albums */, 127 std::vector<picasa::AlbumInfo> /* albums */,
132 std::vector<picasa::AlbumInfo> /* folders */) 128 std::vector<picasa::AlbumInfo> /* folders */)
133 129
134 // Reply after indexing the Picasa user-created Album contents by parsing all 130 // Reply after indexing the Picasa user-created Album contents by parsing all
135 // the INI files in Picasa Folders. 131 // the INI files in Picasa Folders.
136 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished, 132 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_IndexPicasaAlbumsContents_Finished,
137 picasa::AlbumImagesMap /* albums_images */) 133 picasa::AlbumImagesMap /* albums_images */)
138 #endif // defined(OS_WIN) || defined(OS_MACOSX) 134 #endif // defined(OS_WIN) || defined(OS_MACOSX)
139 135
140 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes,
141 int64_t /* request_id */,
142 int64_t /* start_byte */,
143 int64_t /* length */)
144
145 // Reply when a write or verify operation succeeds. 136 // Reply when a write or verify operation succeeds.
146 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded) 137 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded)
147 138
148 // Reply when a write or verify operation has been fully cancelled. 139 // Reply when a write or verify operation has been fully cancelled.
149 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled) 140 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled)
150 141
151 // Reply when a write or verify operation fails to complete. 142 // Reply when a write or verify operation fails to complete.
152 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, 143 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed,
153 std::string /* message */) 144 std::string /* message */)
154 145
155 // Periodic status update about the progress of an operation. 146 // Periodic status update about the progress of an operation.
156 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, 147 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress,
157 int64_t /* number of bytes processed */) 148 int64_t /* number of bytes processed */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698