| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 | 8 |
| 9 #include "extensions/common/update_manifest.h" | 9 #include "extensions/common/update_manifest.h" |
| 10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
| 11 #include "third_party/skia/include/core/SkBitmap.h" | 11 #include "third_party/skia/include/core/SkBitmap.h" |
| 12 #include "ui/gfx/ipc/gfx_param_traits.h" | 12 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 13 #include "url/ipc/url_param_traits.h" | |
| 14 | 13 |
| 15 #define IPC_MESSAGE_START ExtensionUtilityMsgStart | 14 #define IPC_MESSAGE_START ExtensionUtilityMsgStart |
| 16 | 15 |
| 17 #ifndef EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ | 16 #ifndef EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ |
| 18 #define EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ | 17 #define EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ |
| 19 | 18 |
| 20 typedef std::vector<base::Tuple<SkBitmap, base::FilePath>> DecodedImages; | 19 typedef std::vector<base::Tuple<SkBitmap, base::FilePath>> DecodedImages; |
| 21 | 20 |
| 22 #endif // EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ | 21 #endif // EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ |
| 23 | 22 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // DecodedImages struct into a file named kDecodedImagesFilename in the | 86 // DecodedImages struct into a file named kDecodedImagesFilename in the |
| 88 // directory that was passed in. This is done because the data is too large to | 87 // directory that was passed in. This is done because the data is too large to |
| 89 // pass over IPC. | 88 // pass over IPC. |
| 90 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Succeeded, | 89 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Succeeded, |
| 91 base::DictionaryValue /* manifest */) | 90 base::DictionaryValue /* manifest */) |
| 92 | 91 |
| 93 // Reply when the utility process has failed while unpacking an extension. | 92 // Reply when the utility process has failed while unpacking an extension. |
| 94 // |error_message| is a user-displayable explanation of what went wrong. | 93 // |error_message| is a user-displayable explanation of what went wrong. |
| 95 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Failed, | 94 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Failed, |
| 96 base::string16 /* error_message, if any */) | 95 base::string16 /* error_message, if any */) |
| OLD | NEW |