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