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

Issue 2892443002: [GRC] Process Coordination Unit support for Global Resource Controller (Closed)

Created:
3 years, 7 months ago by matthalp
Modified:
3 years, 7 months ago
CC:
chrome-grc-reviews_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[GRC] Process Coordination Unit support for Global Resource Controller Quick design tl;dr: * ProcessCoordinationUnitImpl Specific implementation of CoordinationUnitImpl for tracking processes within GRC of which it is derived from * CoordinationUnitFactory Currently supports making ProcessCoordinationUnitImpl for CoordinationUnitType:kProcess and then a vanilla CoordinationUnitImpl for any ohter CoordinationUnitType * CoordinationUnitImplBaseTest A base class for unit testing CoordinationUnitImpl and its derived classes R=oysteine@chromium.org, rockot@chromium.org BUG=724306 Review-Url: https://codereview.chromium.org/2892443002 Cr-Commit-Position: refs/heads/master@{#473620} Committed: https://chromium.googlesource.com/chromium/src/+/e97f707738a7c04418efe00cd4c68d5ef2fea3c8

Patch Set 1 #

Patch Set 2 : Formatting #

Total comments: 1

Patch Set 3 : Remove unecessary header dependencies #

Patch Set 4 : Remove unused headers and use forward declarations #

Total comments: 45

Patch Set 5 : Address CL review feedback #

Total comments: 3

Patch Set 6 : Address reviewer feedback #

Patch Set 7 : Include Mac OS X dependency #

Patch Set 8 : Address cpplint rules #

Patch Set 9 : Add mach_broker dependency #

Patch Set 10 : Change to construct process handle internally #

Patch Set 11 : Restrict process access on Windows #

Patch Set 12 : Correct OS-specific Process constructor calls #

Patch Set 13 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+352 lines, -52 lines) Patch
M services/resource_coordinator/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +8 lines, -0 lines 0 comments Download
M services/resource_coordinator/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A services/resource_coordinator/coordination_unit/coordination_unit_factory.h View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
A services/resource_coordinator/coordination_unit/coordination_unit_factory.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M services/resource_coordinator/coordination_unit/coordination_unit_impl.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -1 line 0 comments Download
M services/resource_coordinator/coordination_unit/coordination_unit_impl.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M services/resource_coordinator/coordination_unit/coordination_unit_impl_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -24 lines 0 comments Download
A services/resource_coordinator/coordination_unit/coordination_unit_impl_unittest_util.h View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
A services/resource_coordinator/coordination_unit/coordination_unit_impl_unittest_util.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
M services/resource_coordinator/coordination_unit/coordination_unit_provider_impl.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M services/resource_coordinator/coordination_unit/coordination_unit_provider_impl.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -14 lines 0 comments Download
A services/resource_coordinator/coordination_unit/process_coordination_unit_impl.h View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A services/resource_coordinator/coordination_unit/process_coordination_unit_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +77 lines, -0 lines 0 comments Download
A services/resource_coordinator/coordination_unit/process_coordination_unit_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +35 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/cpp/coordination_unit_id.h View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M services/resource_coordinator/public/cpp/coordination_unit_id.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/cpp/resource_coordinator_interface.h View 2 chunks +5 lines, -2 lines 0 comments Download
M services/resource_coordinator/public/cpp/resource_coordinator_interface.cc View 1 2 3 4 1 chunk +14 lines, -9 lines 0 comments Download

Messages

Total messages: 64 (46 generated)
matthalp
3 years, 7 months ago (2017-05-16 20:45:20 UTC) #1
oystein (OOO til 10th of July)
https://codereview.chromium.org/2892443002/diff/60001/services/resource_coordinator/coordination_unit/coordination_unit_factory.cc File services/resource_coordinator/coordination_unit/coordination_unit_factory.cc (right): https://codereview.chromium.org/2892443002/diff/60001/services/resource_coordinator/coordination_unit/coordination_unit_factory.cc#newcode5 services/resource_coordinator/coordination_unit/coordination_unit_factory.cc:5: #include "services/resource_coordinator/coordination_unit/coordination_unit_factory.h" nit: empty line between the associated header ...
3 years, 7 months ago (2017-05-17 23:06:07 UTC) #2
matthalp
Your feedback/comments/suggests were all reasonable and I took your advice for all of them. There ...
3 years, 7 months ago (2017-05-18 16:13:46 UTC) #3
oystein (OOO til 10th of July)
lgtm w/a few last comments https://codereview.chromium.org/2892443002/diff/60001/services/resource_coordinator/coordination_unit/process_coordination_unit_impl_unittest.cc File services/resource_coordinator/coordination_unit/process_coordination_unit_impl_unittest.cc (right): https://codereview.chromium.org/2892443002/diff/60001/services/resource_coordinator/coordination_unit/process_coordination_unit_impl_unittest.cc#newcode28 services/resource_coordinator/coordination_unit/process_coordination_unit_impl_unittest.cc:28: cu_id, ServiceContextRefFactory()); On 2017/05/18 ...
3 years, 7 months ago (2017-05-18 21:24:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2892443002/100001
3 years, 7 months ago (2017-05-18 22:45:19 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/422768) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-18 22:56:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2892443002/120001
3 years, 7 months ago (2017-05-18 23:06:19 UTC) #14
matthalp
On 2017/05/18 at 23:06:19, commit-bot wrote: > CQ is trying da patch. > > Follow ...
3 years, 7 months ago (2017-05-18 23:10:27 UTC) #15
matthalp
On 2017/05/18 at 23:10:27, matthalp wrote: > On 2017/05/18 at 23:06:19, commit-bot wrote: > > ...
3 years, 7 months ago (2017-05-18 23:11:48 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/441772)
3 years, 7 months ago (2017-05-18 23:13:47 UTC) #20
Ken Rockot(use gerrit already)
lgtm
3 years, 7 months ago (2017-05-18 23:15:29 UTC) #21
matthalp
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2889273002/ by matthalp@google.com. ...
3 years, 7 months ago (2017-05-18 23:42:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2892443002/120001
3 years, 7 months ago (2017-05-18 23:47:37 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/422817)
3 years, 7 months ago (2017-05-18 23:57:53 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2892443002/220001
3 years, 7 months ago (2017-05-22 15:16:32 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/443788)
3 years, 7 months ago (2017-05-22 15:24:09 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2892443002/240001
3 years, 7 months ago (2017-05-22 17:51:01 UTC) #61
commit-bot: I haz the power
3 years, 7 months ago (2017-05-22 17:58:34 UTC) #64
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/e97f707738a7c04418efe00cd4c6...

Powered by Google App Engine
This is Rietveld 408576698