OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include <string> | 5 #include <string> |
6 #include <vector> | 6 #include <vector> |
7 | 7 |
8 // This header is meant to be included in multiple passes, hence no traditional | 8 // This header is meant to be included in multiple passes, hence no traditional |
9 // header guard. It is included by utility_messages_internal.h | 9 // header guard. It is included by utility_messages_internal.h |
10 // See ipc_message_macros.h for explanation of the macros and passes. | 10 // See ipc_message_macros.h for explanation of the macros and passes. |
11 | 11 |
12 // This file needs to be included again, even though we're actually included | 12 // This file needs to be included again, even though we're actually included |
13 // from it via utility_messages.h. | 13 // from it via utility_messages.h. |
14 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
15 | 15 |
16 #include "base/platform_file.h" | 16 #include "base/platform_file.h" |
17 #include "gfx/rect.h" | 17 #include "gfx/rect.h" |
18 #include "printing/native_metafile.h" | 18 #include "printing/native_metafile.h" |
19 #include "printing/page_range.h" | 19 #include "printing/page_range.h" |
20 #include "third_party/skia/include/core/SkBitmap.h" | 20 |
| 21 class FilePath; |
| 22 class SkBitmap; |
21 | 23 |
22 //------------------------------------------------------------------------------ | 24 //------------------------------------------------------------------------------ |
23 // Utility process messages: | 25 // Utility process messages: |
24 // These are messages from the browser to the utility process. | 26 // These are messages from the browser to the utility process. |
25 IPC_BEGIN_MESSAGES(Utility) | 27 IPC_BEGIN_MESSAGES(Utility) |
26 | 28 |
27 // Tell the utility process to unpack the given extension file in its | 29 // Tell the utility process to unpack the given extension file in its |
28 // directory and verify that it is valid. | 30 // directory and verify that it is valid. |
29 IPC_MESSAGE_CONTROL1(UtilityMsg_UnpackExtension, | 31 IPC_MESSAGE_CONTROL1(UtilityMsg_UnpackExtension, |
30 FilePath /* extension_filename */) | 32 FilePath /* extension_filename */) |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, | 132 IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, |
131 int /* id */, | 133 int /* id */, |
132 std::vector<IndexedDBKey> /* value */) | 134 std::vector<IndexedDBKey> /* value */) |
133 | 135 |
134 // Reply when the utility process has failed in obtaining the value for | 136 // Reply when the utility process has failed in obtaining the value for |
135 // IDBKeyPath. | 137 // IDBKeyPath. |
136 IPC_MESSAGE_CONTROL1(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed, | 138 IPC_MESSAGE_CONTROL1(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed, |
137 int /* id */) | 139 int /* id */) |
138 | 140 |
139 IPC_END_MESSAGES(UtilityHost) | 141 IPC_END_MESSAGES(UtilityHost) |
OLD | NEW |