OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // IPC messages for HTML5 Blob. | 5 // IPC messages for HTML5 Blob. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/common_param_traits.h" | 8 #include "content/common/common_param_traits.h" |
| 9 #include "content/common/webkit_param_traits.h" |
9 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
10 | 11 |
11 #define IPC_MESSAGE_START BlobMsgStart | 12 #define IPC_MESSAGE_START BlobMsgStart |
12 | 13 |
13 // Blob messages sent from the renderer to the browser. | 14 // Blob messages sent from the renderer to the browser. |
14 | 15 |
15 // Registers a blob URL referring to the specified blob data. | 16 // Registers a blob URL referring to the specified blob data. |
16 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterBlobUrl, | 17 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterBlobUrl, |
17 GURL /* url */, | 18 GURL /* url */, |
18 scoped_refptr<webkit_blob::BlobData> /* blob_data */) | 19 scoped_refptr<webkit_blob::BlobData> /* blob_data */) |
19 | 20 |
20 // Registers a blob URL referring to the blob data identified by the specified | 21 // Registers a blob URL referring to the blob data identified by the specified |
21 // source URL. | 22 // source URL. |
22 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterBlobUrlFrom, | 23 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterBlobUrlFrom, |
23 GURL /* url */, | 24 GURL /* url */, |
24 GURL /* src_url */) | 25 GURL /* src_url */) |
25 | 26 |
26 // Unregister a blob URL. | 27 // Unregister a blob URL. |
27 IPC_MESSAGE_CONTROL1(BlobHostMsg_UnregisterBlobUrl, | 28 IPC_MESSAGE_CONTROL1(BlobHostMsg_UnregisterBlobUrl, |
28 GURL /* url */) | 29 GURL /* url */) |
OLD | NEW |