diff options
author | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 00:33:03 +0000 |
---|---|---|
committer | michaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 00:33:03 +0000 |
commit | bdae981ec7c7206a631d1b27ad3151df7429c584 (patch) | |
tree | 2ff241a456c5e0e6ceffefe8754e7968447d1703 /content/common/child_process_messages.h | |
parent | 23d50ceba2892577f8fa7bcedbe27ad0de4c0c93 (diff) | |
download | chromium_src-bdae981ec7c7206a631d1b27ad3151df7429c584.zip chromium_src-bdae981ec7c7206a631d1b27ad3151df7429c584.tar.gz chromium_src-bdae981ec7c7206a631d1b27ad3151df7429c584.tar.bz2 |
Make shared memory allocation possible for all child process types.
Review URL: http://codereview.chromium.org/8229039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r-- | content/common/child_process_messages.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h index e465b59..cdb402c 100644 --- a/content/common/child_process_messages.h +++ b/content/common/child_process_messages.h @@ -5,6 +5,7 @@ // Common IPC messages used for child processes. // Multiply-included message file, hence no include guard. +#include "base/shared_memory.h" #include "content/common/content_export.h" #include "googleurl/src/gurl.h" #include "ipc/ipc_message_macros.h" @@ -78,3 +79,9 @@ IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont, // Release the cached font IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) #endif // defined(OS_WIN) + +// Asks the browser to create a block of shared memory for the child process to +// fill in and pass back to the browser. +IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, + uint32 /* buffer size */, + base::SharedMemoryHandle) |