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

Issue 868543002: Move OpenProcessHandle to Process::Open. (Closed)

Created:
5 years, 11 months ago by rvargas (doing something else)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, jln+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move OpenProcessHandle to Process::Open. This removes another source of raw process handles. BUG=417532 Committed: https://crrev.com/6b039c379ae314520617fae279194b77f2441ea9 Cr-Commit-Position: refs/heads/master@{#314633}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -125 lines) Patch
M base/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/base.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
D base/memory/scoped_open_process.h View 1 chunk +0 lines, -48 lines 0 comments Download
M base/process/process.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M base/process/process_handle.h View 1 chunk +1 line, -3 lines 0 comments Download
M base/process/process_handle_posix.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M base/process/process_handle_win.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M base/process/process_posix.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download
M base/process/process_win.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/app/chrome_watcher_command_line_unittest_win.cc View 1 1 chunk +5 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/policy/device_status_collector.cc View 1 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/service_process/service_process_control_browsertest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/test/base/chrome_process_util.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/test/perf/perf_test.cc View 5 chunks +9 lines, -12 lines 0 comments Download
M components/browser_watcher/watcher_metrics_provider_win.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M sandbox/linux/services/unix_domain_socket_unittest.cc View 2 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
rvargas (doing something else)
PTAL
5 years, 11 months ago (2015-01-24 00:43:06 UTC) #6
cpu_(ooo_6.6-7.5)
I think I can review all except chrome/test is probably best an owner looks at ...
5 years, 10 months ago (2015-01-28 17:17:51 UTC) #7
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/868543002/diff/80001/sandbox/linux/services/unix_domain_socket_unittest.cc File sandbox/linux/services/unix_domain_socket_unittest.cc (left): https://chromiumcodereview.appspot.com/868543002/diff/80001/sandbox/linux/services/unix_domain_socket_unittest.cc#oldcode62 sandbox/linux/services/unix_domain_socket_unittest.cc:62: base::ProcessId ret = base::GetParentProcessId(pid); Not related to your CL, ...
5 years, 10 months ago (2015-01-28 18:39:09 UTC) #9
rvargas (doing something else)
> I think I can review all except chrome/test is probably best an owner looks ...
5 years, 10 months ago (2015-02-02 19:47:09 UTC) #10
cpu_(ooo_6.6-7.5)
yeah best not to change behavior on this CL, then lgtm
5 years, 10 months ago (2015-02-02 22:59:29 UTC) #11
rvargas (doing something else)
+phajdan (chrome/test)
5 years, 10 months ago (2015-02-03 21:56:17 UTC) #13
rvargas (doing something else)
Pawel is OOO, so +sky
5 years, 10 months ago (2015-02-04 00:05:29 UTC) #15
sky
LGTM https://codereview.chromium.org/868543002/diff/80001/chrome/test/base/chrome_process_util.cc File chrome/test/base/chrome_process_util.cc (right): https://codereview.chromium.org/868543002/diff/80001/chrome/test/base/chrome_process_util.cc#newcode57 chrome/test/base/chrome_process_util.cc:57: base::KillProcess(process.Handle(), content::RESULT_CODE_KILLED, true); Seems like it would be ...
5 years, 10 months ago (2015-02-04 17:14:52 UTC) #16
rvargas (doing something else)
Thanks everyone!. https://codereview.chromium.org/868543002/diff/80001/chrome/test/base/chrome_process_util.cc File chrome/test/base/chrome_process_util.cc (right): https://codereview.chromium.org/868543002/diff/80001/chrome/test/base/chrome_process_util.cc#newcode57 chrome/test/base/chrome_process_util.cc:57: base::KillProcess(process.Handle(), content::RESULT_CODE_KILLED, true); On 2015/02/04 17:14:52, sky ...
5 years, 10 months ago (2015-02-04 18:19:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868543002/80001
5 years, 10 months ago (2015-02-04 18:20:58 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/40422)
5 years, 10 months ago (2015-02-04 18:26:29 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868543002/100001
5 years, 10 months ago (2015-02-04 19:32:12 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/54991)
5 years, 10 months ago (2015-02-04 20:00:49 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/868543002/100001
5 years, 10 months ago (2015-02-04 20:47:29 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:100001)
5 years, 10 months ago (2015-02-04 21:12:12 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 21:13:28 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6b039c379ae314520617fae279194b77f2441ea9
Cr-Commit-Position: refs/heads/master@{#314633}

Powered by Google App Engine
This is Rietveld 408576698