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

Issue 880763002: Reorganize Multiprocess and implement for Windows (Closed)

Created:
5 years, 11 months ago by scottmg
Modified:
5 years, 10 months ago
Reviewers:
Mark Mentovai
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Reorganize Multiprocess and implement for Windows - Various "FD" to "Handle" - Existing Multiprocess implementation moves to _posix. - Stub implementation for _win. At the moment, multiprocess_exec_win.cc contains implementations of both Multiprocess methods and MultiprocessExec functions. This will need more work in the future, but reflects the idea that all tests should be in terms of MultiprocessExec eventually. Currently, this works sufficiently to have util_test succeed (including multiprocess_exec_test, and the recently ported HTTPTransport tests.) R=mark@chromium.org BUG=crashpad:1, crashpad:7 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/892c29e8ba3dbdd234d69456855367a2d9af85cf

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : . #

Total comments: 36

Patch Set 4 : fixes #

Total comments: 6

Patch Set 5 : fixes 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -847 lines) Patch
M snapshot/mac/mach_o_image_annotations_reader_test.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M snapshot/mac/process_reader_test.cc View 1 2 3 11 chunks +31 lines, -29 lines 0 comments Download
M util/file/file_io_win.cc View 1 2 3 1 chunk +10 lines, -4 lines 0 comments Download
M util/mach/exception_ports_test.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M util/mach/mach_message_server_test.cc View 5 chunks +6 lines, -6 lines 0 comments Download
M util/net/http_transport_test.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M util/test/mac/mach_multiprocess.cc View 1 chunk +1 line, -1 line 0 comments Download
M util/test/multiprocess.h View 1 2 3 3 chunks +21 lines, -11 lines 0 comments Download
D util/test/multiprocess.cc View 1 chunk +0 lines, -218 lines 0 comments Download
M util/test/multiprocess_exec.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
D util/test/multiprocess_exec.cc View 1 chunk +0 lines, -140 lines 0 comments Download
A + util/test/multiprocess_exec_posix.cc View 1 2 3 4 3 chunks +9 lines, -8 lines 0 comments Download
M util/test/multiprocess_exec_test.cc View 3 chunks +14 lines, -4 lines 0 comments Download
M util/test/multiprocess_exec_test_child.cc View 1 2 3 2 chunks +3 lines, -99 lines 0 comments Download
A util/test/multiprocess_exec_win.cc View 1 2 3 1 chunk +206 lines, -0 lines 0 comments Download
A + util/test/multiprocess_posix.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
A + util/test/multiprocess_posix_test.cc View 1 2 3 5 chunks +20 lines, -20 lines 0 comments Download
D util/test/multiprocess_test.cc View 1 chunk +0 lines, -289 lines 0 comments Download
M util/util.gyp View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
scottmg
https://codereview.chromium.org/880763002/diff/40001/util/test/multiprocess_exec_test_child.cc File util/test/multiprocess_exec_test_child.cc (left): https://codereview.chromium.org/880763002/diff/40001/util/test/multiprocess_exec_test_child.cc#oldcode158 util/test/multiprocess_exec_test_child.cc:158: // Make sure there's nothing open other than stdin, ...
5 years, 11 months ago (2015-01-27 01:37:47 UTC) #1
Mark Mentovai
Does this supersede https://codereview.chromium.org/853853002/?
5 years, 10 months ago (2015-01-28 19:11:24 UTC) #2
Mark Mentovai
Never mind, I see that it does. Gmail orphaned the message and it wasn’t immediately ...
5 years, 10 months ago (2015-01-28 19:12:29 UTC) #3
Mark Mentovai
OK, let’s get this unblocked now! https://codereview.chromium.org/880763002/diff/40001/compat/win/sys/types.h File compat/win/sys/types.h (right): https://codereview.chromium.org/880763002/diff/40001/compat/win/sys/types.h#newcode27 compat/win/sys/types.h:27: typedef unsigned long ...
5 years, 10 months ago (2015-01-28 19:58:28 UTC) #4
scottmg
Thanks! https://codereview.chromium.org/880763002/diff/40001/compat/win/sys/types.h File compat/win/sys/types.h (right): https://codereview.chromium.org/880763002/diff/40001/compat/win/sys/types.h#newcode27 compat/win/sys/types.h:27: typedef unsigned long pid_t; On 2015/01/28 19:58:27, Mark ...
5 years, 10 months ago (2015-01-28 22:14:58 UTC) #6
Mark Mentovai
LGTM. Not necessary for this change, but for later: Ultimately, it might be best to ...
5 years, 10 months ago (2015-01-28 22:32:54 UTC) #7
scottmg
On 2015/01/28 22:32:54, Mark Mentovai wrote: > LGTM. > > Not necessary for this change, ...
5 years, 10 months ago (2015-01-28 22:44:05 UTC) #8
scottmg
On 2015/01/28 22:32:54, Mark Mentovai wrote: > LGTM. > > Not necessary for this change, ...
5 years, 10 months ago (2015-01-28 22:48:20 UTC) #9
scottmg
https://codereview.chromium.org/880763002/diff/80001/util/test/multiprocess_exec.h File util/test/multiprocess_exec.h (right): https://codereview.chromium.org/880763002/diff/80001/util/test/multiprocess_exec.h#newcode68 util/test/multiprocess_exec.h:68: #else On 2015/01/28 22:32:54, Mark Mentovai wrote: > #elif ...
5 years, 10 months ago (2015-01-28 22:48:26 UTC) #10
scottmg
5 years, 10 months ago (2015-01-28 22:49:49 UTC) #11
Message was sent while issue was closed.
Committed patchset #5 (id:100001) manually as
892c29e8ba3dbdd234d69456855367a2d9af85cf (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698