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

Side by Side Diff: chrome/common/chrome_utility_messages.h

Issue 61643015: Adds imageWriterPrivate support for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adds comments to chrome_utility_messages.h Created 6 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ParseMediaMetadata, 267 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ParseMediaMetadata,
268 std::string /* mime_type */, 268 std::string /* mime_type */,
269 int64 /* total_size */) 269 int64 /* total_size */)
270 270
271 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished, 271 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RequestBlobBytes_Finished,
272 int64 /* request_id */, 272 int64 /* request_id */,
273 std::string /* bytes */) 273 std::string /* bytes */)
274 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 274 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
275 275
276 // Requests that the utility process write the contents of the source file to
277 // the removable drive listed in the target file. The target will be restricted
278 // to removable drives by the utility process.
279 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write,
280 base::FilePath /* source file */,
281 base::FilePath /* target file */)
282 // Requests that the utility process verify that the contents of the source file
283 // was written to the target. As above the target will be restricted to
Jorge Lucangeli Obes 2014/02/15 00:14:00 Nit (I'm a terrible human being): consistent spaci
Drew Haven 2014/02/15 01:23:58 I'm a double-spacer out of habit. I specifically
284 // removable drives by the utility process.
285 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Verify,
286 base::FilePath /* source file */,
287 base::FilePath /* target file */)
288 // Cancels a pending write or verify operation.
289 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_ImageWriter_Cancel)
290
276 //------------------------------------------------------------------------------ 291 //------------------------------------------------------------------------------
277 // Utility process host messages: 292 // Utility process host messages:
278 // These are messages from the utility process to the browser. 293 // These are messages from the utility process to the browser.
279 294
280 // Reply when the utility process is done unpacking an extension. |manifest| 295 // Reply when the utility process is done unpacking an extension. |manifest|
281 // is the parsed manifest.json file. 296 // is the parsed manifest.json file.
282 // The unpacker should also have written out files containing the decoded 297 // The unpacker should also have written out files containing the decoded
283 // images and message catalogs from the extension. The data is written into a 298 // images and message catalogs from the extension. The data is written into a
284 // DecodedImages struct into a file named kDecodedImagesFilename in the 299 // DecodedImages struct into a file named kDecodedImagesFilename in the
285 // directory that was passed in. This is done because the data is too large to 300 // directory that was passed in. This is done because the data is too large to
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 447
433 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished, 448 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished,
434 bool /* parse_success */, 449 bool /* parse_success */,
435 base::DictionaryValue /* metadata */) 450 base::DictionaryValue /* metadata */)
436 451
437 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, 452 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes,
438 int64 /* request_id */, 453 int64 /* request_id */,
439 int64 /* start_byte */, 454 int64 /* start_byte */,
440 int64 /* length */) 455 int64 /* length */)
441 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 456 #endif // !defined(OS_ANDROID) && !defined(OS_IOS)
457
458 // Reply when a write or verify operation succeeds.
459 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded)
460 // Reply when a write or verify operation has been fully cancelled.
461 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled)
462 // Reply when a write or verify operation fails to complete.
463 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed,
464 std::string /* message */)
465 // Periodic status update about the progress of an operation.
466 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress,
467 int64 /* number of bytes processed */)
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698