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

Issue 491963002: Add most of ProcessReader and its test (Closed)

Created:
6 years, 4 months ago by Mark Mentovai
Modified:
6 years, 4 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add most of ProcessReader and its test. TEST=util_test ProcessReader.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/8256f9fc23ab

Patch Set 1 #

Total comments: 14

Patch Set 2 : Address review feedback #

Patch Set 3 : Tolerate extra threads; test each thread’s suspend count #

Total comments: 1

Patch Set 4 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1357 lines, -0 lines) Patch
A util/mac/process_reader.h View 1 2 3 1 chunk +209 lines, -0 lines 0 comments Download
A util/mac/process_reader.cc View 1 1 chunk +529 lines, -0 lines 0 comments Download
A util/mac/process_reader_test.cc View 1 2 1 chunk +572 lines, -0 lines 0 comments Download
A util/stdlib/pointer_container.h View 1 1 chunk +43 lines, -0 lines 0 comments Download
M util/util.gyp View 1 3 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mark Mentovai
The Modules() portion of ProcessReader depends on process_types, but process_types depends on ProcessReader and has ...
6 years, 4 months ago (2014-08-20 19:07:28 UTC) #1
Robert Sesek
https://codereview.chromium.org/491963002/diff/1/util/mac/process_reader.cc File util/mac/process_reader.cc (right): https://codereview.chromium.org/491963002/diff/1/util/mac/process_reader.cc#newcode101 util/mac/process_reader.cc:101: for (ProcessReaderThread& thread : threads_) { const& ? https://codereview.chromium.org/491963002/diff/1/util/mac/process_reader.cc#newcode227 ...
6 years, 4 months ago (2014-08-21 15:26:55 UTC) #2
Mark Mentovai
This now depends on https://codereview.chromium.org/491363002/. https://codereview.chromium.org/491963002/diff/1/util/mac/process_reader.cc File util/mac/process_reader.cc (right): https://codereview.chromium.org/491963002/diff/1/util/mac/process_reader.cc#newcode227 util/mac/process_reader.cc:227: base::mac::ScopedMachSendRight thread_port_owner(thread.port); rsesek wrote: ...
6 years, 4 months ago (2014-08-21 21:40:52 UTC) #3
Robert Sesek
LGTM. That test took forever to review. https://codereview.chromium.org/491963002/diff/40001/util/mac/process_reader.h File util/mac/process_reader.h (right): https://codereview.chromium.org/491963002/diff/40001/util/mac/process_reader.h#newcode176 util/mac/process_reader.h:176: //! \param[inout] ...
6 years, 4 months ago (2014-08-25 21:31:42 UTC) #4
Mark Mentovai
Committed patchset #4 manually as 8256f9fc23ab (presubmit successful).
6 years, 4 months ago (2014-08-25 21:51:13 UTC) #5
Mark Mentovai
I’m happy to have this huge chunk checked in. Iterating on it will be much ...
6 years, 4 months ago (2014-08-25 21:51:59 UTC) #6
Mark Mentovai
6 years, 4 months ago (2014-08-25 22:05:00 UTC) #7
Message was sent while issue was closed.
53% as of this being checked in.

Powered by Google App Engine
This is Rietveld 408576698