summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorerikchen <erikchen@chromium.org>2016-01-19 13:36:49 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-19 21:37:46 +0000
commit7ceb8901740c35cd8ebfb92739efaf2ee441391e (patch)
tree6bbae33336fd8967970f1b5e4117576096563472 /ipc
parentff8a7383fdcfa996b2c673fdaafbab2eedd05d8c (diff)
downloadchromium_src-7ceb8901740c35cd8ebfb92739efaf2ee441391e.zip
chromium_src-7ceb8901740c35cd8ebfb92739efaf2ee441391e.tar.gz
chromium_src-7ceb8901740c35cd8ebfb92739efaf2ee441391e.tar.bz2
Enable attachment brokering of SharedMemoryHandle on Windows.
Whenever a SharedMemoryHandle associated with the current process is passed as a parameter to a Chrome IPC message, the object is automatically brokered into the destination process. This means it is no longer necessary to have a constructor of SharedMemoryHandle that takes a ProcessHandle, since the SharedMemoryHandle is always associated with the current process. BUG=493414 Review URL: https://codereview.chromium.org/1588683003 Cr-Commit-Position: refs/heads/master@{#370193}
Diffstat (limited to 'ipc')
-rw-r--r--ipc/attachment_broker_privileged_win_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/attachment_broker_privileged_win_unittest.cc b/ipc/attachment_broker_privileged_win_unittest.cc
index b25214d..07f37a3 100644
--- a/ipc/attachment_broker_privileged_win_unittest.cc
+++ b/ipc/attachment_broker_privileged_win_unittest.cc
@@ -470,7 +470,7 @@ TEST_F(IPCAttachmentBrokerPrivilegedWinTest, SendHandleTwice) {
// An unprivileged process makes a shared memory region and sends it to the
// privileged process.
-TEST_F(IPCAttachmentBrokerPrivilegedWinTest, DISABLED_SendSharedMemoryHandle) {
+TEST_F(IPCAttachmentBrokerPrivilegedWinTest, SendSharedMemoryHandle) {
Init("SendSharedMemoryHandle");
CommonSetUp();