| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // sandbox. | 95 // sandbox. |
| 96 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults, | 96 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults, |
| 97 std::string /* printer name */) | 97 std::string /* printer name */) |
| 98 | 98 |
| 99 //------------------------------------------------------------------------------ | 99 //------------------------------------------------------------------------------ |
| 100 // Utility process host messages: | 100 // Utility process host messages: |
| 101 // These are messages from the utility process to the browser. | 101 // These are messages from the utility process to the browser. |
| 102 // Reply when the utility process is done unpacking an extension. |manifest| | 102 // Reply when the utility process is done unpacking an extension. |manifest| |
| 103 // is the parsed manifest.json file. | 103 // is the parsed manifest.json file. |
| 104 // The unpacker should also have written out files containing the decoded | 104 // The unpacker should also have written out files containing the decoded |
| 105 // images and message catalogs from the extension. See ExtensionUnpacker for | 105 // images and message catalogs from the extension. See extensions::Unpacker for |
| 106 // details. | 106 // details. |
| 107 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackExtension_Succeeded, | 107 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackExtension_Succeeded, |
| 108 DictionaryValue /* manifest */) | 108 DictionaryValue /* manifest */) |
| 109 | 109 |
| 110 // Reply when the utility process has failed while unpacking an extension. | 110 // Reply when the utility process has failed while unpacking an extension. |
| 111 // |error_message| is a user-displayable explanation of what went wrong. | 111 // |error_message| is a user-displayable explanation of what went wrong. |
| 112 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackExtension_Failed, | 112 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackExtension_Failed, |
| 113 string16 /* error_message, if any */) | 113 string16 /* error_message, if any */) |
| 114 | 114 |
| 115 // Reply when the utility process is done unpacking and parsing JSON data | 115 // Reply when the utility process is done unpacking and parsing JSON data |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // capabilities and defaults. | 166 // capabilities and defaults. |
| 167 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, | 167 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, |
| 168 std::string /* printer name */, | 168 std::string /* printer name */, |
| 169 printing::PrinterCapsAndDefaults) | 169 printing::PrinterCapsAndDefaults) |
| 170 #endif | 170 #endif |
| 171 | 171 |
| 172 // Reply when the utility process has failed to obtain the printer | 172 // Reply when the utility process has failed to obtain the printer |
| 173 // capabilities and defaults. | 173 // capabilities and defaults. |
| 174 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, | 174 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, |
| 175 std::string /* printer name */) | 175 std::string /* printer name */) |
| OLD | NEW |