| 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 21 matching lines...) Expand all Loading... |
| 32 IPC_MESSAGE_CONTROL1(BlobHostMsg_IncrementRefCount, | 32 IPC_MESSAGE_CONTROL1(BlobHostMsg_IncrementRefCount, |
| 33 std::string /* uuid */) | 33 std::string /* uuid */) |
| 34 IPC_MESSAGE_CONTROL1(BlobHostMsg_DecrementRefCount, | 34 IPC_MESSAGE_CONTROL1(BlobHostMsg_DecrementRefCount, |
| 35 std::string /* uuid */) | 35 std::string /* uuid */) |
| 36 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterPublicURL, | 36 IPC_MESSAGE_CONTROL2(BlobHostMsg_RegisterPublicURL, |
| 37 GURL, | 37 GURL, |
| 38 std::string /* uuid */) | 38 std::string /* uuid */) |
| 39 IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL, | 39 IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL, |
| 40 GURL) | 40 GURL) |
| 41 | 41 |
| 42 // Temporary support for mapping old style blobUrls to new style uuids. | |
| 43 IPC_MESSAGE_CONTROL2(BlobHostMsg_DeprecatedRegisterBlobURL, | |
| 44 GURL, | |
| 45 std::string /* uuid */) | |
| 46 IPC_MESSAGE_CONTROL2(BlobHostMsg_DeprecatedCloneBlobURL, | |
| 47 GURL, | |
| 48 GURL) | |
| 49 IPC_MESSAGE_CONTROL1(BlobHostMsg_DeprecatedRevokeBlobURL, | |
| 50 GURL) | |
| 51 | |
| 52 | |
| 53 | |
| 54 // Stream messages sent from the renderer to the browser. | 42 // Stream messages sent from the renderer to the browser. |
| 55 | 43 |
| 56 // Registers a stream as being built. | 44 // Registers a stream as being built. |
| 57 IPC_MESSAGE_CONTROL2(StreamHostMsg_StartBuilding, | 45 IPC_MESSAGE_CONTROL2(StreamHostMsg_StartBuilding, |
| 58 GURL /* url */, | 46 GURL /* url */, |
| 59 std::string /* content_type */) | 47 std::string /* content_type */) |
| 60 | 48 |
| 61 // Appends data to a stream being built. | 49 // Appends data to a stream being built. |
| 62 IPC_MESSAGE_CONTROL2(StreamHostMsg_AppendBlobDataItem, | 50 IPC_MESSAGE_CONTROL2(StreamHostMsg_AppendBlobDataItem, |
| 63 GURL /* url */, | 51 GURL /* url */, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 78 GURL /* url */) | 66 GURL /* url */) |
| 79 | 67 |
| 80 // Creates a new stream that's a clone of an existing src stream. | 68 // Creates a new stream that's a clone of an existing src stream. |
| 81 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone, | 69 IPC_MESSAGE_CONTROL2(StreamHostMsg_Clone, |
| 82 GURL /* url */, | 70 GURL /* url */, |
| 83 GURL /* src_url */) | 71 GURL /* src_url */) |
| 84 | 72 |
| 85 // Removes a stream. | 73 // Removes a stream. |
| 86 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove, | 74 IPC_MESSAGE_CONTROL1(StreamHostMsg_Remove, |
| 87 GURL /* url */) | 75 GURL /* url */) |
| OLD | NEW |