• Joe Downing's avatar
    Include additional host info in every heartbeat for logging purposes · 538a4eb2
    Joe Downing authored
    Prior to this change, the host will always make at least two service
    calls, one to heartbeat and one to log that it heartbeated.  This
    dance is left over from the design which used Buzz as the signaling
    channel.  Since both heartbeat and log calls go to the same service
    API now, there isn't much value in having two separate calls.
    
    In this CL, we will add a couple of fields to the heartbeat message
    and populate them for every heartbeat.  The backend service will
    determine whether or not they need to be persisted in the Directory.
    
    Change-Id: I6f1f9ca18b903c63a36ad78ec1bc94869db64dd7
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2170174
    Commit-Queue: Gary Kacmarcik <garykac@chromium.org>
    Auto-Submit: Joe Downing <joedow@chromium.org>
    Reviewed-by: default avatarGary Kacmarcik <garykac@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#763583}
    538a4eb2
server_log_entry_host_unittest.cc 3.51 KB