Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Write, | |
| 277 base::FilePath /* source file */, | |
| 278 base::FilePath /* target file */) | |
|
Jorge Lucangeli Obes
2014/02/14 23:35:52
Please amend the comment mentioning that the utili
Drew Haven
2014/02/15 00:07:06
Done. I added better comments to all the messages
| |
| 279 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_ImageWriter_Verify, | |
| 280 base::FilePath /* source file */, | |
| 281 base::FilePath /* target file */) | |
| 282 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_ImageWriter_Cancel) | |
| 283 | |
| 276 //------------------------------------------------------------------------------ | 284 //------------------------------------------------------------------------------ |
| 277 // Utility process host messages: | 285 // Utility process host messages: |
| 278 // These are messages from the utility process to the browser. | 286 // These are messages from the utility process to the browser. |
| 279 | 287 |
| 280 // Reply when the utility process is done unpacking an extension. |manifest| | 288 // Reply when the utility process is done unpacking an extension. |manifest| |
| 281 // is the parsed manifest.json file. | 289 // is the parsed manifest.json file. |
| 282 // The unpacker should also have written out files containing the decoded | 290 // 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 | 291 // images and message catalogs from the extension. The data is written into a |
| 284 // DecodedImages struct into a file named kDecodedImagesFilename in the | 292 // 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 | 293 // 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 Loading... | |
| 432 | 440 |
| 433 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished, | 441 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_ParseMediaMetadata_Finished, |
| 434 bool /* parse_success */, | 442 bool /* parse_success */, |
| 435 base::DictionaryValue /* metadata */) | 443 base::DictionaryValue /* metadata */) |
| 436 | 444 |
| 437 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, | 445 IPC_MESSAGE_CONTROL3(ChromeUtilityHostMsg_RequestBlobBytes, |
| 438 int64 /* request_id */, | 446 int64 /* request_id */, |
| 439 int64 /* start_byte */, | 447 int64 /* start_byte */, |
| 440 int64 /* length */) | 448 int64 /* length */) |
| 441 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 449 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
| 450 | |
| 451 // Reply and status updates during image writing and verifying operations. | |
| 452 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Succeeded) | |
| 453 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ImageWriter_Cancelled) | |
| 454 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Failed, | |
| 455 std::string /* message */) | |
| 456 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ImageWriter_Progress, | |
| 457 int64 /* number of bytes processed */) | |
| OLD | NEW |