| 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 | 20 |
| 21 class FilePath; | 21 class FilePath; |
| 22 class IndexedDBKey; |
| 23 class SerializedScriptValue; |
| 22 class SkBitmap; | 24 class SkBitmap; |
| 23 | 25 |
| 24 //------------------------------------------------------------------------------ | 26 //------------------------------------------------------------------------------ |
| 25 // Utility process messages: | 27 // Utility process messages: |
| 26 // These are messages from the browser to the utility process. | 28 // These are messages from the browser to the utility process. |
| 27 IPC_BEGIN_MESSAGES(Utility) | 29 IPC_BEGIN_MESSAGES(Utility) |
| 28 | 30 |
| 29 // Tell the utility process to unpack the given extension file in its | 31 // Tell the utility process to unpack the given extension file in its |
| 30 // directory and verify that it is valid. | 32 // directory and verify that it is valid. |
| 31 IPC_MESSAGE_CONTROL1(UtilityMsg_UnpackExtension, | 33 IPC_MESSAGE_CONTROL1(UtilityMsg_UnpackExtension, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, | 134 IPC_MESSAGE_CONTROL2(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Succeeded, |
| 133 int /* id */, | 135 int /* id */, |
| 134 std::vector<IndexedDBKey> /* value */) | 136 std::vector<IndexedDBKey> /* value */) |
| 135 | 137 |
| 136 // Reply when the utility process has failed in obtaining the value for | 138 // Reply when the utility process has failed in obtaining the value for |
| 137 // IDBKeyPath. | 139 // IDBKeyPath. |
| 138 IPC_MESSAGE_CONTROL1(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed, | 140 IPC_MESSAGE_CONTROL1(UtilityHostMsg_IDBKeysFromValuesAndKeyPath_Failed, |
| 139 int /* id */) | 141 int /* id */) |
| 140 | 142 |
| 141 IPC_END_MESSAGES(UtilityHost) | 143 IPC_END_MESSAGES(UtilityHost) |
| OLD | NEW |