Index: content/common/child_process_messages.h |
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h |
index 948b60ed49a1192a59b0b201bc4c61cf4c6633c5..0eda94253a0e8f9d06dc8d0f3d12f25812e6fb3b 100644 |
--- a/content/common/child_process_messages.h |
+++ b/content/common/child_process_messages.h |
@@ -13,6 +13,7 @@ |
#include "base/values.h" |
#include "cc/resources/shared_bitmap_manager.h" |
#include "content/common/content_export.h" |
+#include "content/common/host_discardable_shared_memory_manager.h" |
#include "ipc/ipc_message_macros.h" |
#include "ui/gfx/gpu_memory_buffer.h" |
@@ -196,7 +197,13 @@ IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_DeletedGpuMemoryBuffer, |
// Asks the browser to create a block of discardable shared memory for the |
// child process. |
-IPC_SYNC_MESSAGE_CONTROL1_1( |
+IPC_SYNC_MESSAGE_CONTROL2_1( |
ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, |
uint32 /* size */, |
+ content::DiscardableSharedMemoryId, |
base::SharedMemoryHandle) |
+ |
+// Informs the browser that the child deleted a block of discardable shared |
+// memory. |
+IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, |
+ content::DiscardableSharedMemoryId) |