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

Issue 2965553002: [GRC] Add Tab-scoped Coordination Unit Graph Observer (Closed)

Created:
3 years, 5 months ago by matthalp
Modified:
3 years, 5 months ago
CC:
chromium-reviews, fmeawad
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[GRC] Add Tab-scoped Coordination Unit Graph Observer This CL adds a CoordinationUnitGraphObserver scoped to observing activities corresponding to tabs (i.e. WebContents) and enables it to be active within GRC. A drive-by test name change was performed unrelated to the observer. R=lpy@chromium.org,zhenw@chromium.org TBR=oysteine@chromium.org BUG=691886 Review-Url: https://codereview.chromium.org/2965553002 Cr-Commit-Position: refs/heads/master@{#483878} Committed: https://chromium.googlesource.com/chromium/src/+/e0717ce2e90081c6d915dee987153f8d5f3a929c

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address reviewer feedback #

Total comments: 2

Patch Set 3 : Change observer name #

Messages

Total messages: 35 (20 generated)
matthalp
PTAL
3 years, 5 months ago (2017-06-29 17:49:40 UTC) #5
lpy
https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/resource_coordinator_service.cc File services/resource_coordinator/resource_coordinator_service.cc (right): https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/resource_coordinator_service.cc#newcode20 services/resource_coordinator/resource_coordinator_service.cc:20: resource_coordinator_service->coordination_unit_manager()->RegisterObserver( Should we register observers inside CUManager?
3 years, 5 months ago (2017-06-29 19:51:53 UTC) #10
matthalp
https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/resource_coordinator_service.cc File services/resource_coordinator/resource_coordinator_service.cc (right): https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/resource_coordinator_service.cc#newcode20 services/resource_coordinator/resource_coordinator_service.cc:20: resource_coordinator_service->coordination_unit_manager()->RegisterObserver( On 2017/06/29 at 19:51:52, lpy wrote: > Should ...
3 years, 5 months ago (2017-06-29 19:57:31 UTC) #11
lpy
On 2017/06/29 19:57:31, matthalp wrote: > https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/resource_coordinator_service.cc > File services/resource_coordinator/resource_coordinator_service.cc (right): > > https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/resource_coordinator_service.cc#newcode20 > ...
3 years, 5 months ago (2017-06-29 20:02:30 UTC) #12
Zhen Wang
The test will come with the "[GRC] Tab-level CPU Attribution" CL, right? https://codereview.chromium.org/2965553002/diff/1/services/resource_coordinator/coordination_unit/tab_observer.cc File services/resource_coordinator/coordination_unit/tab_observer.cc ...
3 years, 5 months ago (2017-06-29 20:06:21 UTC) #13
Zhen Wang
cc'ing fmeawad.
3 years, 5 months ago (2017-06-29 20:09:19 UTC) #14
matthalp
Feedback has been addressed. PTAL I do plan to add unittests for GetAssociated*(), but want ...
3 years, 5 months ago (2017-06-29 23:13:56 UTC) #15
Zhen Wang
Overall looks good. Let's finalize the class name together. https://codereview.chromium.org/2965553002/diff/20001/services/resource_coordinator/coordination_unit/tab_controller.h File services/resource_coordinator/coordination_unit/tab_controller.h (right): https://codereview.chromium.org/2965553002/diff/20001/services/resource_coordinator/coordination_unit/tab_controller.h#newcode15 services/resource_coordinator/coordination_unit/tab_controller.h:15: ...
3 years, 5 months ago (2017-06-30 16:34:28 UTC) #20
Zhen Wang
https://codereview.chromium.org/2965553002/diff/20001/services/resource_coordinator/coordination_unit/tab_controller.h File services/resource_coordinator/coordination_unit/tab_controller.h (right): https://codereview.chromium.org/2965553002/diff/20001/services/resource_coordinator/coordination_unit/tab_controller.h#newcode15 services/resource_coordinator/coordination_unit/tab_controller.h:15: class TabController : public CoordinationUnitGraphObserver { On 2017/06/30 16:34:28, ...
3 years, 5 months ago (2017-06-30 20:22:00 UTC) #21
lpy
On 2017/06/30 20:22:00, Zhen Wang wrote: > https://codereview.chromium.org/2965553002/diff/20001/services/resource_coordinator/coordination_unit/tab_controller.h > File services/resource_coordinator/coordination_unit/tab_controller.h (right): > > https://codereview.chromium.org/2965553002/diff/20001/services/resource_coordinator/coordination_unit/tab_controller.h#newcode15 ...
3 years, 5 months ago (2017-06-30 20:22:33 UTC) #22
matthalp
The observer name has been updated -- PTAL.
3 years, 5 months ago (2017-06-30 22:14:33 UTC) #23
matthalp
3 years, 5 months ago (2017-06-30 22:14:38 UTC) #24
Zhen Wang
Thanks! LGTM
3 years, 5 months ago (2017-06-30 22:53:52 UTC) #25
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/2965553002/40001
3 years, 5 months ago (2017-07-01 00:44:53 UTC) #32
commit-bot: I haz the power
3 years, 5 months ago (2017-07-01 00:53:27 UTC) #35
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e0717ce2e90081c6d915dee98715...

Powered by Google App Engine
This is Rietveld 408576698