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

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

Issue 175423004: Revert 252466 "In order to support writing on windows we need to..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | Annotate | Revision Log
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
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
291 //------------------------------------------------------------------------------ 276 //------------------------------------------------------------------------------
292 // Utility process host messages: 277 // Utility process host messages:
293 // These are messages from the utility process to the browser. 278 // These are messages from the utility process to the browser.
294 279
295 // Reply when the utility process is done unpacking an extension. |manifest| 280 // Reply when the utility process is done unpacking an extension. |manifest|
296 // is the parsed manifest.json file. 281 // is the parsed manifest.json file.
297 // The unpacker should also have written out files containing the decoded 282 // The unpacker should also have written out files containing the decoded
298 // images and message catalogs from the extension. The data is written into a 283 // images and message catalogs from the extension. The data is written into a
299 // DecodedImages struct into a file named kDecodedImagesFilename in the 284 // DecodedImages struct into a file named kDecodedImagesFilename in the
300 // directory that was passed in. This is done because the data is too large to 285 // 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
447 432
448 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished, 433 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished,
449 bool /* parse_success */, 434 bool /* parse_success */,
450 base::DictionaryValue /* metadata */) 435 base::DictionaryValue /* metadata */)
451 436
452 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, 437 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes,
453 int64 /* request_id */, 438 int64 /* request_id */,
454 int64 /* start_byte */, 439 int64 /* start_byte */,
455 int64 /* length */) 440 int64 /* length */)
456 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) 441 #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 | « trunk/src/chrome/chrome_tests_unit.gypi ('k') | trunk/src/chrome/utility/chrome_content_utility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698