| 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/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackWebResource_Failed, | 101 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_UnpackWebResource_Failed, |
| 102 std::string /* error_message, if any */) | 102 std::string /* error_message, if any */) |
| 103 | 103 |
| 104 // Reply when the utility process has succeeded in decoding the image. | 104 // Reply when the utility process has succeeded in decoding the image. |
| 105 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DecodeImage_Succeeded, | 105 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_DecodeImage_Succeeded, |
| 106 SkBitmap) // decoded image | 106 SkBitmap) // decoded image |
| 107 | 107 |
| 108 // Reply when an error occurred decoding the image. | 108 // Reply when an error occurred decoding the image. |
| 109 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_DecodeImage_Failed) | 109 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_DecodeImage_Failed) |
| 110 | 110 |
| 111 // Reply when a file has been patched successfully. | 111 // Reply when a file has been patched. |
| 112 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_PatchFile_Succeeded) | 112 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_PatchFile_Finished, int /* result */) |
| 113 | |
| 114 // Reply when patching a file failed. | |
| 115 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_PatchFile_Failed, | |
| 116 int /* error code */) | |
| 117 | 113 |
| 118 #if defined(OS_CHROMEOS) | 114 #if defined(OS_CHROMEOS) |
| 119 // Reply when the utility process has succeeded in creating the zip file. | 115 // Reply when the utility process has succeeded in creating the zip file. |
| 120 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded) | 116 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Succeeded) |
| 121 | 117 |
| 122 // Reply when an error occured in creating the zip file. | 118 // Reply when an error occured in creating the zip file. |
| 123 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed) | 119 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_CreateZipFile_Failed) |
| 124 #endif // defined(OS_CHROMEOS) | 120 #endif // defined(OS_CHROMEOS) |
| 125 | 121 |
| 126 // Reply when the utility process has started. | 122 // Reply when the utility process has started. |
| 127 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ProcessStarted) | 123 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ProcessStarted) |
| 128 | 124 |
| 129 #if defined(FULL_SAFE_BROWSING) | 125 #if defined(FULL_SAFE_BROWSING) |
| 130 // Reply when a zip file has been analyzed for malicious download protection. | 126 // Reply when a zip file has been analyzed for malicious download protection. |
| 131 IPC_MESSAGE_CONTROL1( | 127 IPC_MESSAGE_CONTROL1( |
| 132 ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished, | 128 ChromeUtilityHostMsg_AnalyzeZipFileForDownloadProtection_Finished, |
| 133 safe_browsing::zip_analyzer::Results) | 129 safe_browsing::zip_analyzer::Results) |
| 134 #endif | 130 #endif |
| OLD | NEW |