OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/common/common_param_traits.h" | 8 #include "content/public/common/common_param_traits.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "webkit/blob/blob_data.h" | 10 #include "webkit/common/blob/blob_data.h" |
11 | 11 |
12 #define IPC_MESSAGE_START BlobMsgStart | 12 #define IPC_MESSAGE_START BlobMsgStart |
13 | 13 |
14 // Blob messages sent from the renderer to the browser. | 14 // Blob messages sent from the renderer to the browser. |
15 | 15 |
16 // Registers a blob as being built. | 16 // Registers a blob as being built. |
17 IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob, | 17 IPC_MESSAGE_CONTROL1(BlobHostMsg_StartBuildingBlob, |
18 GURL /* url */) | 18 GURL /* url */) |
19 | 19 |
20 // Appends data to a blob being built. | 20 // Appends data to a blob being built. |
(...skipping 14 matching lines...) Expand all Loading... |
35 | 35 |
36 // Creates a new blob that's a clone of an existing src blob. | 36 // Creates a new blob that's a clone of an existing src blob. |
37 // The source blob must be fully built. | 37 // The source blob must be fully built. |
38 IPC_MESSAGE_CONTROL2(BlobHostMsg_CloneBlob, | 38 IPC_MESSAGE_CONTROL2(BlobHostMsg_CloneBlob, |
39 GURL /* url */, | 39 GURL /* url */, |
40 GURL /* src_url */) | 40 GURL /* src_url */) |
41 | 41 |
42 // Removes a blob. | 42 // Removes a blob. |
43 IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlob, | 43 IPC_MESSAGE_CONTROL1(BlobHostMsg_RemoveBlob, |
44 GURL /* url */) | 44 GURL /* url */) |
OLD | NEW |