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