| 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 #ifndef CONTENT_COMMON_FILEAPI_WEBBLOB_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_FILEAPI_WEBBLOB_MESSAGES_H_ |
| 7 |
| 5 // IPC messages for HTML5 Blob and Stream. | 8 // IPC messages for HTML5 Blob and Stream. |
| 6 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 7 | 10 |
| 8 #include <stddef.h> | 11 #include <stddef.h> |
| 9 | 12 |
| 10 #include <set> | 13 #include <set> |
| 11 | 14 |
| 12 #include "base/memory/shared_memory.h" | 15 #include "base/memory/shared_memory.h" |
| 13 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
| 14 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 std::string /* uuid */) | 92 std::string /* uuid */) |
| 90 // NOTE: This message is synchronous to ensure that the browser is aware of the | 93 // NOTE: This message is synchronous to ensure that the browser is aware of the |
| 91 // UUID before the UUID is passed to another process. This protects against a | 94 // UUID before the UUID is passed to another process. This protects against a |
| 92 // race condition in which the browser could be asked about a UUID that doesn't | 95 // race condition in which the browser could be asked about a UUID that doesn't |
| 93 // yet exist from its perspective. See also https://goo.gl/bfdE64. | 96 // yet exist from its perspective. See also https://goo.gl/bfdE64. |
| 94 IPC_SYNC_MESSAGE_CONTROL2_0(BlobHostMsg_RegisterPublicURL, | 97 IPC_SYNC_MESSAGE_CONTROL2_0(BlobHostMsg_RegisterPublicURL, |
| 95 GURL, | 98 GURL, |
| 96 std::string /* uuid */) | 99 std::string /* uuid */) |
| 97 IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL, | 100 IPC_MESSAGE_CONTROL1(BlobHostMsg_RevokePublicURL, |
| 98 GURL) | 101 GURL) |
| 102 |
| 103 |
| 104 #endif // CONTENT_COMMON_FILEAPI_WEBBLOB_MESSAGES_H_ |
| OLD | NEW |