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

Issue 1295363003: Add ProcessControlImpl, the default ProcessControl implementation. (Closed)

Created:
5 years, 4 months ago by xhwang
Modified:
5 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ProcessControlImpl, the default ProcessControl implementation. Refactor UtilityProcessControlImpl and move common (non-utility-specific) code into a base class ProcessControlImpl. UtilityProcessControlImpl inherits ProcessControlImpl and has the utility specific code. This allows us to easily add ProcessControl implementation to other processes, e.g. the GPU process. BUG=521755 Committed: https://crrev.com/e88fc6f755bd832ba009fe7733ab553d59e759ac Cr-Commit-Position: refs/heads/master@{#344402}

Patch Set 1 #

Patch Set 2 : more updates #

Patch Set 3 : #

Patch Set 4 : comments addressed #

Total comments: 4

Patch Set 5 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -62 lines) Patch
M content/child/DEPS View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A + content/child/process_control_impl.h View 1 2 3 4 2 chunks +13 lines, -10 lines 0 comments Download
A content/child/process_control_impl.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
M content/content_child.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/utility/utility_process_control_impl.h View 1 2 3 1 chunk +9 lines, -28 lines 0 comments Download
M content/utility/utility_process_control_impl.cc View 2 chunks +11 lines, -24 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
xhwang
5 years, 4 months ago (2015-08-18 23:11:49 UTC) #2
xhwang
rockot: Please review everything. jam: Please OWNERS review.
5 years, 4 months ago (2015-08-18 23:12:15 UTC) #3
jam
which other processes do you see ProcessControlImpl used in? You mentioned GPU, any others? If ...
5 years, 4 months ago (2015-08-19 15:52:46 UTC) #4
xhwang
comments addressed
5 years, 4 months ago (2015-08-19 16:38:46 UTC) #5
xhwang
On 2015/08/19 15:52:46, jam wrote: > which other processes do you see ProcessControlImpl used in? ...
5 years, 4 months ago (2015-08-19 16:39:41 UTC) #6
jam
lgtm
5 years, 4 months ago (2015-08-19 23:01:09 UTC) #7
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/1295363003/diff/60001/content/child/process_control_impl.cc File content/child/process_control_impl.cc (right): https://codereview.chromium.org/1295363003/diff/60001/content/child/process_control_impl.cc#newcode9 content/child/process_control_impl.cc:9: #include "mojo/shell/static_application_loader.h" This shouldn't be necessary (and so ...
5 years, 4 months ago (2015-08-19 23:07:34 UTC) #8
xhwang
comments addressed
5 years, 4 months ago (2015-08-20 00:23:56 UTC) #9
xhwang
https://codereview.chromium.org/1295363003/diff/60001/content/child/process_control_impl.cc File content/child/process_control_impl.cc (right): https://codereview.chromium.org/1295363003/diff/60001/content/child/process_control_impl.cc#newcode9 content/child/process_control_impl.cc:9: #include "mojo/shell/static_application_loader.h" On 2015/08/19 23:07:34, Ken Rockot wrote: > ...
5 years, 4 months ago (2015-08-20 00:43:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1295363003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1295363003/80001
5 years, 4 months ago (2015-08-20 00:44:11 UTC) #13
Ken Rockot(use gerrit already)
On 2015/08/20 00:43:34, xhwang wrote: > https://codereview.chromium.org/1295363003/diff/60001/content/child/process_control_impl.cc > File content/child/process_control_impl.cc (right): > > https://codereview.chromium.org/1295363003/diff/60001/content/child/process_control_impl.cc#newcode9 > ...
5 years, 4 months ago (2015-08-20 00:47:32 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-20 01:45:21 UTC) #15
commit-bot: I haz the power
5 years, 4 months ago (2015-08-20 01:46:10 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e88fc6f755bd832ba009fe7733ab553d59e759ac
Cr-Commit-Position: refs/heads/master@{#344402}

Powered by Google App Engine
This is Rietveld 408576698