Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 1643253003: Add member ownership_passes_to_ipc_ to SharedMemoryHandle on windows. (Closed)

Created:
4 years, 10 months ago by erikchen
Modified:
4 years, 10 months ago
Reviewers:
Tom Sepez, Nico
CC:
chromium-reviews, darin-cc_chromium.org, jam, gavinp+memory_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add member ownership_passes_to_ipc_ to SharedMemoryHandle on windows. Prior to attachment brokering, the semantics for SharedMemoryHandle differed between Windows and other platforms. On other platforms, if a handle is passed to the IPC stack, there is a flag that indicates whether ownership also passed. On Windows, there was no flag, and whether ownership was passed, or leaked (waiting for another process to close it), was entirely context dependent. Adding this flag to attachment-brokered SharedMemoryHandles on Windows mean that they now have the same ownership semantics as SharedMemoryHandles on other platforms. BUG=580636 Committed: https://crrev.com/71bc3b2b02bdf75f04e672c5e1e77999a124b536 Cr-Commit-Position: refs/heads/master@{#372783}

Patch Set 1 #

Patch Set 2 : Update comments. #

Patch Set 3 : Minimal test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
M base/memory/shared_memory_handle.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M base/memory/shared_memory_handle_win.cc View 1 2 3 chunks +14 lines, -3 lines 0 comments Download
M base/memory/shared_memory_unittest.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M base/memory/shared_memory_win.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ipc/ipc_message_utils.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
erikchen
mark: Please review base/ tsepez: Please review ipc/
4 years, 10 months ago (2016-01-29 23:29:40 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643253003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643253003/20001
4 years, 10 months ago (2016-01-29 23:34:20 UTC) #4
Tom Sepez
Tests?
4 years, 10 months ago (2016-01-29 23:40:47 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-30 01:18:38 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643253003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643253003/60001
4 years, 10 months ago (2016-02-01 04:34:48 UTC) #10
erikchen
On 2016/01/30 01:18:38, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 10 months ago (2016-02-01 04:35:51 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-01 06:41:56 UTC) #13
Tom Sepez
lgtm
4 years, 10 months ago (2016-02-01 17:13:32 UTC) #14
erikchen
-mark, who is sick. +thakis
4 years, 10 months ago (2016-02-01 21:46:44 UTC) #16
Nico
hm, lgtm based on the corresponding _mac file having this already, but making base "know" ...
4 years, 10 months ago (2016-02-01 21:51:07 UTC) #17
erikchen
On 2016/02/01 21:51:07, Nico wrote: > hm, lgtm based on the corresponding _mac file having ...
4 years, 10 months ago (2016-02-01 21:59:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1643253003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1643253003/60001
4 years, 10 months ago (2016-02-01 22:04:12 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 10 months ago (2016-02-01 22:14:35 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 22:15:58 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/71bc3b2b02bdf75f04e672c5e1e77999a124b536
Cr-Commit-Position: refs/heads/master@{#372783}

Powered by Google App Engine
This is Rietveld 408576698