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

Issue 2464293002: [Chromoting] GetHostAttributes with tests (Closed)

Created:
4 years, 1 month ago by Hzj_jie
Modified:
4 years, 1 month ago
Reviewers:
Sergey Ulanov, Jamie
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] GetHostAttributes with tests This change adds GetHostAttributes function, which returns a comma-separated string to represent all attributes of the host, into host. Host sends the result of this function to client to indicate the capability of host experiments. This is part of Chromoting Host Experiment feature. BUG=650926 Committed: https://crrev.com/3010c8d9f1cb51a31f1dd22c42fa68b7eeacf27a Cr-Commit-Position: refs/heads/master@{#431451}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Resolve review comments #

Patch Set 3 : Resolve review comments #

Total comments: 8

Patch Set 4 : Resolve review comments #

Total comments: 20

Patch Set 5 : Resolve review comments #

Total comments: 4

Patch Set 6 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -0 lines) Patch
M remoting/host/BUILD.gn View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
A remoting/host/host_attributes.h View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
A remoting/host/host_attributes.cc View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
A remoting/host/host_attributes_unittest.cc View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 86 (65 generated)
Hzj_jie
4 years, 1 month ago (2016-11-02 19:17:45 UTC) #7
Sergey Ulanov
https://codereview.chromium.org/2464293002/diff/1/remoting/host/directx_traits.h File remoting/host/directx_traits.h (right): https://codereview.chromium.org/2464293002/diff/1/remoting/host/directx_traits.h#newcode4 remoting/host/directx_traits.h:4: Add include guards. https://codereview.chromium.org/2464293002/diff/1/remoting/host/host_traits.cc File remoting/host/host_traits.cc (right): https://codereview.chromium.org/2464293002/diff/1/remoting/host/host_traits.cc#newcode20 remoting/host/host_traits.cc:20: ...
4 years, 1 month ago (2016-11-02 20:10:32 UTC) #8
Hzj_jie
https://codereview.chromium.org/2464293002/diff/1/remoting/host/directx_traits.h File remoting/host/directx_traits.h (right): https://codereview.chromium.org/2464293002/diff/1/remoting/host/directx_traits.h#newcode4 remoting/host/directx_traits.h:4: On 2016/11/02 20:10:31, Sergey Ulanov wrote: > Add include ...
4 years, 1 month ago (2016-11-03 02:29:35 UTC) #13
Hzj_jie
Looks like private reviews in codereview.chromium.org are discouraged. Since this change will eventually be public, ...
4 years, 1 month ago (2016-11-03 03:20:32 UTC) #15
Sergey Ulanov
https://codereview.chromium.org/2464293002/diff/1/remoting/host/host_traits.cc File remoting/host/host_traits.cc (right): https://codereview.chromium.org/2464293002/diff/1/remoting/host/host_traits.cc#newcode20 remoting/host/host_traits.cc:20: static HostTraits* instance = new HostTraits(); On 2016/11/03 02:29:34, ...
4 years, 1 month ago (2016-11-03 19:05:34 UTC) #16
Sergey Ulanov
On 2016/11/03 03:20:32, Hzj_jie wrote: > Looks like private reviews in http://codereview.chromium.org are discouraged. Since ...
4 years, 1 month ago (2016-11-03 19:05:48 UTC) #17
Hzj_jie
Moving the document to chromium.org is not doable. I removed the links from this change. ...
4 years, 1 month ago (2016-11-03 21:33:31 UTC) #21
Sergey Ulanov
I'm still not sure why we need dynamic type to store the attributes instead of ...
4 years, 1 month ago (2016-11-03 22:15:34 UTC) #22
Sergey Ulanov
https://codereview.chromium.org/2464293002/diff/40001/remoting/host/directx_attributes.cc File remoting/host/directx_attributes.cc (right): https://codereview.chromium.org/2464293002/diff/40001/remoting/host/directx_attributes.cc#newcode1 remoting/host/directx_attributes.cc:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 1 month ago (2016-11-03 22:17:42 UTC) #25
Hzj_jie
I have added some comments to explain several decisions. https://codereview.chromium.org/2464293002/diff/40001/remoting/host/directx_attributes.cc File remoting/host/directx_attributes.cc (right): https://codereview.chromium.org/2464293002/diff/40001/remoting/host/directx_attributes.cc#newcode1 remoting/host/directx_attributes.cc:1: ...
4 years, 1 month ago (2016-11-05 05:29:28 UTC) #49
Sergey Ulanov
https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes.cc File remoting/host/host_attributes.cc (right): https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes.cc#newcode57 remoting/host/host_attributes.cc:57: #define SIZE_OF_ARRAY(x, y) static_cast<int>(sizeof(x) / sizeof(y)) Add something in ...
4 years, 1 month ago (2016-11-07 20:11:33 UTC) #50
Hzj_jie
https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes.cc File remoting/host/host_attributes.cc (right): https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes.cc#newcode57 remoting/host/host_attributes.cc:57: #define SIZE_OF_ARRAY(x, y) static_cast<int>(sizeof(x) / sizeof(y)) On 2016/11/07 20:11:33, ...
4 years, 1 month ago (2016-11-08 01:29:54 UTC) #53
Sergey Ulanov
https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes_win.h File remoting/host/host_attributes_win.h (right): https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes_win.h#newcode28 remoting/host/host_attributes_win.h:28: StaticAttribute::Create( { "Debug-Build", &IsDebug } ), On 2016/11/08 01:29:54, ...
4 years, 1 month ago (2016-11-08 20:11:05 UTC) #69
Hzj_jie
https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes_win.h File remoting/host/host_attributes_win.h (right): https://codereview.chromium.org/2464293002/diff/140001/remoting/host/host_attributes_win.h#newcode28 remoting/host/host_attributes_win.h:28: StaticAttribute::Create( { "Debug-Build", &IsDebug } ), On 2016/11/08 20:11:05, ...
4 years, 1 month ago (2016-11-09 02:37:52 UTC) #72
Sergey Ulanov
LGTM
4 years, 1 month ago (2016-11-10 23:03:23 UTC) #75
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/2464293002/240001
4 years, 1 month ago (2016-11-10 23:36:34 UTC) #77
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/162327)
4 years, 1 month ago (2016-11-10 23:52:14 UTC) #79
Hzj_jie
On 2016/11/10 23:52:14, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 1 month ago (2016-11-10 23:54:15 UTC) #80
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/2464293002/240001
4 years, 1 month ago (2016-11-11 01:05:46 UTC) #82
commit-bot: I haz the power
Committed patchset #6 (id:240001)
4 years, 1 month ago (2016-11-11 01:51:49 UTC) #84
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 02:00:59 UTC) #86
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3010c8d9f1cb51a31f1dd22c42fa68b7eeacf27a
Cr-Commit-Position: refs/heads/master@{#431451}

Powered by Google App Engine
This is Rietveld 408576698