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

Issue 8667006: Extract similar code into SetJobObjectAsKillOnJobClose() (Closed)

Created:
9 years, 1 month ago by Takashi Toyoshima
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, brettw-cc_chromium.org, Yuta Kitamura
Visibility:
Public.

Description

Extract similar code into SetJobObjectAsKillOnJobClose() For now, Chromium have five same code in various place to handle JobObject as KILL_ON_JOB_CLOSE. This change provide a common utility function to be used by them. BUG=n/a TEST=n/a; run existing unit tests because this is just a refactoring change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111441

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix style #

Patch Set 3 : fix missing inclusion #

Patch Set 4 : again #

Patch Set 5 : namespace prefix was missing #

Patch Set 6 : rebase #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -21 lines) Patch
M base/process_util.h View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M base/process_util_win.cc View 1 2 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 4 1 chunk +1 line, -5 lines 0 comments Download
M chrome/test/base/layout_test_http_server.cc View 1 2 3 4 2 chunks +1 line, -6 lines 0 comments Download
M chrome/test/ui/ui_test_suite.cc View 1 2 3 4 1 chunk +1 line, -5 lines 0 comments Download
M net/test/test_server_win.cc View 1 2 3 4 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Takashi Toyoshima
Hi, everyone. This is a change to refactoring on JobObject in Win32. It's based on ...
9 years, 1 month ago (2011-11-23 02:48:18 UTC) #1
M-A Ruel
lgtm http://codereview.chromium.org/8667006/diff/1/base/process_util_win.cc File base/process_util_win.cc (right): http://codereview.chromium.org/8667006/diff/1/base/process_util_win.cc#newcode312 base/process_util_win.cc:312: if (0 == SetInformationJobObject(job_object, style nit: (optional) return ...
9 years, 1 month ago (2011-11-23 03:01:35 UTC) #2
Takashi Toyoshima
Thanks Marc-Antoine, Fixed style issue. I'll land this change after one more review by Paweł's ...
9 years, 1 month ago (2011-11-23 04:36:54 UTC) #3
Paweł Hajdan Jr.
LGTM, thanks.
9 years, 1 month ago (2011-11-23 10:05:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8667006/4001
9 years, 1 month ago (2011-11-23 13:34:19 UTC) #5
commit-bot: I haz the power
Try job failure for 8667006-4001 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-23 13:57:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8667006/9001
9 years, 1 month ago (2011-11-23 14:08:07 UTC) #7
commit-bot: I haz the power
Try job failure for 8667006-9001 (retry) on win_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-23 14:28:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8667006/9003
9 years, 1 month ago (2011-11-23 15:47:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8667006/13002
9 years, 1 month ago (2011-11-23 16:06:52 UTC) #10
commit-bot: I haz the power
Try job failure for 8667006-13002 (retry) on mac_rel for step "media_unittests". It's a second try, ...
9 years, 1 month ago (2011-11-23 17:16:20 UTC) #11
M-A Ruel
On 2011/11/23 17:16:20, I haz the power (commit-bot) wrote: > Try job failure for 8667006-13002 ...
9 years, 1 month ago (2011-11-23 17:19:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/8667006/13002
9 years, 1 month ago (2011-11-23 17:19:38 UTC) #13
commit-bot: I haz the power
Try job failure for 8667006-13002 (retry) on mac_rel for step "compile" (clobber build). It's a ...
9 years, 1 month ago (2011-11-23 18:22:40 UTC) #14
Takashi Toyoshima
9 years, 1 month ago (2011-11-23 23:33:28 UTC) #15
OK, I use dcommit.

Powered by Google App Engine
This is Rietveld 408576698