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

Issue 12221123: Include version information in heartbeats. (Closed)

Created:
7 years, 10 months ago by Jamie
Modified:
7 years, 10 months ago
Reviewers:
Sergey Ulanov, rmsousa
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Include version information in heartbeats. This will allow us to propagate it to the directory so that the client-side web-app can identify out-of-date hosts, as discussed in the referenced bug (option 3 in Renato's comment). BUG=173502 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182379

Patch Set 1 #

Total comments: 9

Patch Set 2 : Use an element instead of an attribute for the host version. #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Rename |query| to |heartbeat|. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M remoting/host/heartbeat_sender.cc View 1 2 3 3 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Jamie
PTAL. Note that the server-side code to process the version number is not yet in ...
7 years, 10 months ago (2013-02-11 19:35:07 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc#newcode246 remoting/host/heartbeat_sender.cc:246: query->AddAttr(QName(kChromotingXmlNamespace, kHostVersionAttr), nit: Does this need to be an ...
7 years, 10 months ago (2013-02-11 20:29:11 UTC) #2
Jamie
https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc#newcode246 remoting/host/heartbeat_sender.cc:246: query->AddAttr(QName(kChromotingXmlNamespace, kHostVersionAttr), On 2013/02/11 20:29:11, sergeyu wrote: > nit: ...
7 years, 10 months ago (2013-02-11 20:41:25 UTC) #3
Sergey Ulanov
https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc#newcode246 remoting/host/heartbeat_sender.cc:246: query->AddAttr(QName(kChromotingXmlNamespace, kHostVersionAttr), On 2013/02/11 20:41:25, Jamie wrote: > On ...
7 years, 10 months ago (2013-02-11 21:40:49 UTC) #4
Jamie
ptal https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc#newcode246 remoting/host/heartbeat_sender.cc:246: query->AddAttr(QName(kChromotingXmlNamespace, kHostVersionAttr), On 2013/02/11 21:40:49, sergeyu wrote: > ...
7 years, 10 months ago (2013-02-13 18:25:26 UTC) #5
Sergey Ulanov
https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc#newcode251 remoting/host/heartbeat_sender.cc:251: query->AddElement(version_tag.release()); Actually this should be a child of <heartbeat> ...
7 years, 10 months ago (2013-02-13 18:46:44 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/1/remoting/host/heartbeat_sender.cc#newcode250 remoting/host/heartbeat_sender.cc:250: scoped_ptr<XmlElement> log(ServerLogEntry::MakeStanza()); On 2013/02/13 18:25:26, Jamie wrote: > On ...
7 years, 10 months ago (2013-02-13 18:53:15 UTC) #7
Jamie
https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc#newcode251 remoting/host/heartbeat_sender.cc:251: query->AddElement(version_tag.release()); On 2013/02/13 18:46:44, sergeyu wrote: > Actually this ...
7 years, 10 months ago (2013-02-13 19:04:38 UTC) #8
Sergey Ulanov
lgtm https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc#newcode251 remoting/host/heartbeat_sender.cc:251: query->AddElement(version_tag.release()); On 2013/02/13 19:04:38, Jamie wrote: > On ...
7 years, 10 months ago (2013-02-13 19:23:56 UTC) #9
Jamie
fyi https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc File remoting/host/heartbeat_sender.cc (right): https://codereview.chromium.org/12221123/diff/5001/remoting/host/heartbeat_sender.cc#newcode251 remoting/host/heartbeat_sender.cc:251: query->AddElement(version_tag.release()); On 2013/02/13 19:23:57, sergeyu wrote: > On ...
7 years, 10 months ago (2013-02-13 19:29:00 UTC) #10
rmsousa
lgtm
7 years, 10 months ago (2013-02-13 19:35:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/12221123/16001
7 years, 10 months ago (2013-02-13 19:44:50 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=111429
7 years, 10 months ago (2013-02-13 21:41:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/12221123/16001
7 years, 10 months ago (2013-02-13 21:55:30 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=84089
7 years, 10 months ago (2013-02-13 22:20:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/12221123/16001
7 years, 10 months ago (2013-02-13 22:23:36 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=84130
7 years, 10 months ago (2013-02-13 22:59:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/12221123/16001
7 years, 10 months ago (2013-02-14 00:02:13 UTC) #18
commit-bot: I haz the power
7 years, 10 months ago (2013-02-14 03:38:58 UTC) #19
Message was sent while issue was closed.
Change committed as 182379

Powered by Google App Engine
This is Rietveld 408576698