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

Issue 1400413002: win: Add Handles() to ProcessInfo (Closed)

Created:
5 years, 2 months ago by scottmg
Modified:
5 years, 2 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

win: Add Handles() to ProcessInfo To eventually be used to fill out MINIDUMP_HANDLE_DESCRIPTOR. R=mark@chromium.org BUG=crashpad:21, crashpad:46, crashpad:52 Committed: https://chromium.googlesource.com/crashpad/crashpad/+/7de04b02f85ddfeee778b71f804d4d30c971ccd8

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : test #

Total comments: 33

Patch Set 5 : . #

Total comments: 42

Patch Set 6 : fixes #

Total comments: 11

Patch Set 7 : . #

Total comments: 2

Patch Set 8 : . #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -0 lines) Patch
M util/win/nt_internals.h View 1 2 chunks +9 lines, -0 lines 0 comments Download
M util/win/nt_internals.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download
M util/win/process_info.h View 1 2 3 4 5 6 3 chunks +40 lines, -0 lines 0 comments Download
M util/win/process_info.cc View 1 2 3 4 5 6 7 5 chunks +170 lines, -0 lines 0 comments Download
M util/win/process_info_test.cc View 1 2 3 4 5 6 2 chunks +112 lines, -0 lines 0 comments Download
M util/win/process_structs.h View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
scottmg
5 years, 2 months ago (2015-10-14 21:23:03 UTC) #1
Mark Mentovai
https://codereview.chromium.org/1400413002/diff/60001/util/win/nt_internals.h File util/win/nt_internals.h (right): https://codereview.chromium.org/1400413002/diff/60001/util/win/nt_internals.h#newcode31 util/win/nt_internals.h:31: enum { SystemExtendedHandleInformation = 64 }; Tested on Windows ...
5 years, 2 months ago (2015-10-14 22:49:55 UTC) #2
scottmg
Thanks for the quick review! https://codereview.chromium.org/1400413002/diff/60001/util/win/nt_internals.h File util/win/nt_internals.h (right): https://codereview.chromium.org/1400413002/diff/60001/util/win/nt_internals.h#newcode31 util/win/nt_internals.h:31: enum { SystemExtendedHandleInformation = ...
5 years, 2 months ago (2015-10-15 00:17:42 UTC) #7
Mark Mentovai
https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc#newcode143 util/win/process_info.cc:143: DCHECK_GE(return_length, size); DCHECK_GT, not DCHECK_GE. https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc#newcode155 util/win/process_info.cc:155: return buffer.Pass(); ...
5 years, 2 months ago (2015-10-15 05:25:17 UTC) #8
Mark Mentovai
https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc#newcode155 util/win/process_info.cc:155: return buffer.Pass(); Mark Mentovai wrote: > buffer.resize(return_length) to trim ...
5 years, 2 months ago (2015-10-15 15:07:22 UTC) #9
Mark Mentovai
https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc#newcode155 util/win/process_info.cc:155: return buffer.Pass(); I wrote: > Forget this comment and ...
5 years, 2 months ago (2015-10-15 15:28:54 UTC) #10
scottmg
Thanks. (I hope I didn't miss anything in the revisions.) https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info.cc#newcode143 ...
5 years, 2 months ago (2015-10-15 21:38:46 UTC) #11
Mark Mentovai
https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info_test.cc File util/win/process_info_test.cc (right): https://codereview.chromium.org/1400413002/diff/160001/util/win/process_info_test.cc#newcode568 util/win/process_info_test.cc:568: EXPECT_EQ(0, handle.attributes); scottmg wrote: > On 2015/10/15 05:25:17, Mark ...
5 years, 2 months ago (2015-10-16 04:03:04 UTC) #12
scottmg
https://codereview.chromium.org/1400413002/diff/180001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/180001/util/win/process_info.cc#newcode157 util/win/process_info.cc:157: DCHECK_GE(size, minimum_size); On 2015/10/16 04:03:04, Mark Mentovai wrote: > ...
5 years, 2 months ago (2015-10-16 20:36:01 UTC) #13
Mark Mentovai
LGTM https://codereview.chromium.org/1400413002/diff/180001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/180001/util/win/process_info.cc#newcode446 util/win/process_info.cc:446: // NtQueryObject() while the query was being executed. ...
5 years, 2 months ago (2015-10-16 22:04:05 UTC) #14
scottmg
https://codereview.chromium.org/1400413002/diff/180001/util/win/process_info.cc File util/win/process_info.cc (right): https://codereview.chromium.org/1400413002/diff/180001/util/win/process_info.cc#newcode446 util/win/process_info.cc:446: // NtQueryObject() while the query was being executed. On ...
5 years, 2 months ago (2015-10-16 22:25:21 UTC) #15
scottmg
5 years, 2 months ago (2015-10-16 22:31:32 UTC) #16
Message was sent while issue was closed.
Committed patchset #9 (id:240001) manually as
7de04b02f85ddfeee778b71f804d4d30c971ccd8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698