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 and Stream. | 5 // IPC messages for HTML5 Blob and Stream. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 IPC_MESSAGE_CONTROL2(StreamHostMsg_AppendBlobDataItem, | 50 IPC_MESSAGE_CONTROL2(StreamHostMsg_AppendBlobDataItem, |
51 GURL /* url */, | 51 GURL /* url */, |
52 storage::BlobData::Item) | 52 storage::BlobData::Item) |
53 | 53 |
54 // Appends data to a stream being built. | 54 // Appends data to a stream being built. |
55 IPC_SYNC_MESSAGE_CONTROL3_0(StreamHostMsg_SyncAppendSharedMemory, | 55 IPC_SYNC_MESSAGE_CONTROL3_0(StreamHostMsg_SyncAppendSharedMemory, |
56 GURL /* url */, | 56 GURL /* url */, |
57 base::SharedMemoryHandle, | 57 base::SharedMemoryHandle, |
58 size_t /* buffer size */) | 58 size_t /* buffer size */) |
59 | 59 |
| 60 // Flushes contents buffered in the stream. |
| 61 IPC_MESSAGE_CONTROL1(StreamHostMsg_Flush, |
| 62 GURL /* url */) |
| 63 |
60 // Finishes building a stream. | 64 // Finishes building a stream. |
61 IPC_MESSAGE_CONTROL1(StreamHostMsg_FinishBuilding, | 65 IPC_MESSAGE_CONTROL1(StreamHostMsg_FinishBuilding, |
62 GURL /* url */) | 66 GURL /* url */) |
63 | 67 |
64 // Aborts building a stream. | 68 // Aborts building a stream. |
65 IPC_MESSAGE_CONTROL1(StreamHostMsg_AbortBuilding, | 69 IPC_MESSAGE_CONTROL1(StreamHostMsg_AbortBuilding, |
66 GURL /* url */) | 70 GURL /* url */) |
67 | 71 |
68 // Creates a new stream that's a clone of an existing src stream. | 72 // Creates a new stream that's a clone of an existing src stream. |
69 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone, | 73 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone, |
70 GURL /* url */, | 74 GURL /* url */, |
71 GURL /* src_url */) | 75 GURL /* src_url */) |
72 | 76 |
73 // Removes a stream. | 77 // Removes a stream. |
74 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove, | 78 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove, |
75 GURL /* url */) | 79 GURL /* url */) |
OLD | NEW |