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

Issue 2964613002: [Chromoting] Deprecate AggregatedProcessResourceUsage.* (Closed)

Created:
3 years, 5 months ago by Hzj_jie
Modified:
3 years, 5 months ago
Reviewers:
joedow, dcheng, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org, estark
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] Deprecate AggregatedProcessResourceUsage.* Resource usages of each individual process do not need to be aggregated in host anymore. BUG=650926 Review-Url: https://codereview.chromium.org/2964613002 Cr-Commit-Position: refs/heads/master@{#487684} Committed: https://chromium.googlesource.com/chromium/src/+/f401c5186e4f98d89388ee8cf23886a75d2da310

Patch Set 1 #

Total comments: 8

Patch Set 2 : Resolve review comments #

Total comments: 10

Patch Set 3 : Resolve review comments #

Patch Set 4 : Use latest ipc_message_protobuf_utils to serialize and deserialize AggregatedProcessResourceUsage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -122 lines) Patch
M remoting/host/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M remoting/host/chromoting_param_traits.h View 1 2 3 1 chunk +12 lines, -2 lines 0 comments Download
M remoting/host/chromoting_param_traits.cc View 1 2 3 2 chunks +50 lines, -10 lines 0 comments Download
M remoting/host/desktop_session_agent_unittest.cc View 1 2 chunks +69 lines, -0 lines 0 comments Download
M remoting/host/process_stats_sender.cc View 1 2 2 chunks +17 lines, -5 lines 0 comments Download
M remoting/host/process_stats_sender_unittest.cc View 1 2 chunks +9 lines, -9 lines 0 comments Download
D remoting/host/process_stats_util.h View 1 chunk +0 lines, -24 lines 0 comments Download
D remoting/host/process_stats_util.cc View 1 chunk +0 lines, -56 lines 0 comments Download
M remoting/proto/process_stats.proto View 1 1 chunk +2 lines, -14 lines 0 comments Download

Messages

Total messages: 45 (26 generated)
Hzj_jie
3 years, 5 months ago (2017-06-30 00:44:16 UTC) #5
joedow
https://codereview.chromium.org/2964613002/diff/1/remoting/host/process_stats_sender.cc File remoting/host/process_stats_sender.cc (right): https://codereview.chromium.org/2964613002/diff/1/remoting/host/process_stats_sender.cc#newcode18 remoting/host/process_stats_sender.cc:18: return !usage.has_process_name() && !usage.has_processor_usage() && Is it ok to ...
3 years, 5 months ago (2017-06-30 15:13:43 UTC) #8
Hzj_jie
https://codereview.chromium.org/2964613002/diff/1/remoting/host/process_stats_sender.cc File remoting/host/process_stats_sender.cc (right): https://codereview.chromium.org/2964613002/diff/1/remoting/host/process_stats_sender.cc#newcode18 remoting/host/process_stats_sender.cc:18: return !usage.has_process_name() && !usage.has_processor_usage() && On 2017/06/30 15:13:43, joedow ...
3 years, 5 months ago (2017-06-30 22:39:29 UTC) #13
joedow
lgtm
3 years, 5 months ago (2017-06-30 22:56:22 UTC) #14
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/2964613002/20001
3 years, 5 months ago (2017-06-30 23:21:57 UTC) #16
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/479084)
3 years, 5 months ago (2017-06-30 23:31:36 UTC) #18
Hzj_jie
Emily, would you please review the changes to chromoting_param_traits.*? Thank you.
3 years, 5 months ago (2017-06-30 23:46:26 UTC) #20
estark
https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc#newcode300 remoting/host/chromoting_param_traits.cc:300: m->WriteInt(p.usages_size()); Can this be a WriteUint64?
3 years, 5 months ago (2017-07-02 00:24:04 UTC) #21
Hzj_jie
https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc#newcode300 remoting/host/chromoting_param_traits.cc:300: m->WriteInt(p.usages_size()); On 2017/07/02 00:24:04, estark (OOO until Jul 10) ...
3 years, 5 months ago (2017-07-02 20:59:05 UTC) #22
Hzj_jie
Emily is OOO until 10th. Daniel, would you mind to have a look at this ...
3 years, 5 months ago (2017-07-05 18:36:24 UTC) #24
dcheng
https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc#newcode300 remoting/host/chromoting_param_traits.cc:300: m->WriteInt(p.usages_size()); On 2017/07/02 20:59:05, Hzj_jie wrote: > On 2017/07/02 ...
3 years, 5 months ago (2017-07-06 00:01:57 UTC) #25
Hzj_jie
https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc#newcode300 remoting/host/chromoting_param_traits.cc:300: m->WriteInt(p.usages_size()); On 2017/07/06 00:01:56, dcheng wrote: > On 2017/07/02 ...
3 years, 5 months ago (2017-07-06 00:45:37 UTC) #28
dcheng
https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc#newcode300 remoting/host/chromoting_param_traits.cc:300: m->WriteInt(p.usages_size()); On 2017/07/06 00:45:37, Hzj_jie wrote: > On 2017/07/06 ...
3 years, 5 months ago (2017-07-06 08:08:10 UTC) #31
Hzj_jie
https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc File remoting/host/chromoting_param_traits.cc (right): https://codereview.chromium.org/2964613002/diff/20001/remoting/host/chromoting_param_traits.cc#newcode300 remoting/host/chromoting_param_traits.cc:300: m->WriteInt(p.usages_size()); On 2017/07/06 08:08:10, dcheng wrote: > On 2017/07/06 ...
3 years, 5 months ago (2017-07-07 00:59:49 UTC) #32
Hzj_jie
Daniel, the code has been updated to use the ipc_message_protobuf_utils. Would you please have a ...
3 years, 5 months ago (2017-07-18 23:40:17 UTC) #37
dcheng
ipc lgtm. thanks for splitting out the traits for repeated proto fields!
3 years, 5 months ago (2017-07-19 00:15:39 UTC) #38
Hzj_jie
On 2017/07/19 00:15:39, dcheng wrote: > ipc lgtm. thanks for splitting out the traits for ...
3 years, 5 months ago (2017-07-19 00:16:39 UTC) #41
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/2964613002/60001
3 years, 5 months ago (2017-07-19 00:16:43 UTC) #42
commit-bot: I haz the power
3 years, 5 months ago (2017-07-19 00:22:04 UTC) #45
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/f401c5186e4f98d89388ee8cf238...

Powered by Google App Engine
This is Rietveld 408576698