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

Issue 7789018: Move launching in a job object logic (Closed)

Created:
9 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Move launching in a job object logic from TestServer to LaunchProcess, so that I can re-use it in other places for experiments. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=100027

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -60 lines) Patch
M base/process_util.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M base/process_util_win.cc View 1 2 2 chunks +24 lines, -2 lines 0 comments Download
M net/test/test_server_win.cc View 1 2 chunks +19 lines, -57 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Paweł Hajdan Jr.
9 years, 3 months ago (2011-09-07 00:51:09 UTC) #1
Evan Martin
LGTM On Tue, Sep 6, 2011 at 5:51 PM, <phajdan.jr@chromium.org> wrote: > Reviewers: Evan Martin, ...
9 years, 3 months ago (2011-09-07 01:42:53 UTC) #2
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/7789018/diff/1/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/7789018/diff/1/base/process_util_win.cc#newcode244 base/process_util_win.cc:244: job_handle.Set(CreateJobObject(NULL, NULL)); so why do we create a job ...
9 years, 3 months ago (2011-09-07 20:07:22 UTC) #3
Paweł Hajdan Jr.
http://codereview.chromium.org/7789018/diff/1/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/7789018/diff/1/base/process_util_win.cc#newcode244 base/process_util_win.cc:244: job_handle.Set(CreateJobObject(NULL, NULL)); On 2011/09/07 20:07:22, cpu wrote: > so ...
9 years, 3 months ago (2011-09-07 20:16:22 UTC) #4
cpu_(ooo_6.6-7.5)
I feel it is needlessly specific, I think a more generic thing here is the ...
9 years, 3 months ago (2011-09-07 20:24:30 UTC) #5
Paweł Hajdan Jr.
CL updated. PTAL.
9 years, 3 months ago (2011-09-07 20:36:33 UTC) #6
cpu_(ooo_6.6-7.5)
lgtm http://codereview.chromium.org/7789018/diff/6001/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/7789018/diff/6001/base/process_util_win.cc#newcode280 base/process_util_win.cc:280: KillProcess(process_info.hProcess, 1, true); use kProcessKilledExitCode
9 years, 3 months ago (2011-09-07 21:09:49 UTC) #7
Paweł Hajdan Jr.
9 years, 3 months ago (2011-09-07 21:54:58 UTC) #8
http://codereview.chromium.org/7789018/diff/6001/base/process_util_win.cc
File base/process_util_win.cc (right):

http://codereview.chromium.org/7789018/diff/6001/base/process_util_win.cc#new...
base/process_util_win.cc:280: KillProcess(process_info.hProcess, 1, true);
On 2011/09/07 21:09:49, cpu wrote:
> use kProcessKilledExitCode

Done.

Powered by Google App Engine
This is Rietveld 408576698