Chromium Code Reviews| 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/gfx_param_traits.h" |
| 14 #include "ui/gfx/ipc/gfx_skia_param_traits.h" | |
|
Devlin
2016/03/28 21:01:51
ditto
Mark Dittmer
2016/03/30 22:04:41
Removed unnecessary non-skia include.
| |
| 14 #include "url/ipc/url_param_traits.h" | 15 #include "url/ipc/url_param_traits.h" |
| 15 | 16 |
| 16 #define IPC_MESSAGE_START ExtensionUtilityMsgStart | 17 #define IPC_MESSAGE_START ExtensionUtilityMsgStart |
| 17 | 18 |
| 18 #ifndef EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ | 19 #ifndef EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ |
| 19 #define EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ | 20 #define EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ |
| 20 | 21 |
| 21 using DecodedImages = std::vector<std::tuple<SkBitmap, base::FilePath>>; | 22 using DecodedImages = std::vector<std::tuple<SkBitmap, base::FilePath>>; |
| 22 | 23 |
| 23 #endif // EXTENSIONS_COMMON_EXTENSION_UTILITY_MESSAGES_H_ | 24 #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 | 89 // 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 | 90 // directory that was passed in. This is done because the data is too large to |
| 90 // pass over IPC. | 91 // pass over IPC. |
| 91 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Succeeded, | 92 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Succeeded, |
| 92 base::DictionaryValue /* manifest */) | 93 base::DictionaryValue /* manifest */) |
| 93 | 94 |
| 94 // Reply when the utility process has failed while unpacking an extension. | 95 // Reply when the utility process has failed while unpacking an extension. |
| 95 // |error_message| is a user-displayable explanation of what went wrong. | 96 // |error_message| is a user-displayable explanation of what went wrong. |
| 96 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Failed, | 97 IPC_MESSAGE_CONTROL1(ExtensionUtilityHostMsg_UnpackExtension_Failed, |
| 97 base::string16 /* error_message, if any */) | 98 base::string16 /* error_message, if any */) |
| OLD | NEW |