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

Issue 14963003: Use the machine hostname on Linux machines for the sync session name rather than (Closed)

Created:
7 years, 7 months ago by Aditya
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

Use the machine hostname on Linux machines for the sync session name rather than the distro name, but retain distro name as a fallback in case the hostname fails. Uses gethostname() from unistd.h. BUG=123827 TEST=Verify on a Linux machine that the hostname apppears in chrome://sync-internals > Sync Node Browser > Root > Device Information. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198704

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
M AUTHORS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sync/sync_core.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sync/util/get_session_name.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
A sync/util/get_session_name_linux.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A sync/util/get_session_name_linux.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Aditya
Hi all, Rachel Popkin is owner of Chromium bug 123827 and she asked that I ...
7 years, 7 months ago (2013-05-04 16:15:04 UTC) #1
Nicolas Zea
Just a couple nits. Thanks for submitting this! https://codereview.chromium.org/14963003/diff/4002/sync/util/get_session_name_linux.cc File sync/util/get_session_name_linux.cc (right): https://codereview.chromium.org/14963003/diff/4002/sync/util/get_session_name_linux.cc#newcode1 sync/util/get_session_name_linux.cc:1: // ...
7 years, 7 months ago (2013-05-06 17:54:09 UTC) #2
Aditya
On 2013/05/06 17:54:09, Nicolas Zea wrote: > Just a couple nits. Thanks for submitting this! ...
7 years, 7 months ago (2013-05-06 21:37:12 UTC) #3
Nicolas Zea
On 2013/05/06 21:37:12, Aditya wrote: > On 2013/05/06 17:54:09, Nicolas Zea wrote: > > Just ...
7 years, 7 months ago (2013-05-06 21:40:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/heuristicist@gmail.com/14963003/8001
7 years, 7 months ago (2013-05-06 22:18:35 UTC) #5
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-06 22:18:38 UTC) #6
Aditya
On 2013/05/06 22:18:38, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
7 years, 7 months ago (2013-05-06 22:57:39 UTC) #7
Nicolas Zea
On 2013/05/06 22:57:39, Aditya wrote: > On 2013/05/06 22:18:38, I haz the power (commit-bot) wrote: ...
7 years, 7 months ago (2013-05-06 23:12:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/heuristicist@gmail.com/14963003/16001
7 years, 7 months ago (2013-05-06 23:13:07 UTC) #9
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 13:05:05 UTC) #10
Message was sent while issue was closed.
Change committed as 198704

Powered by Google App Engine
This is Rietveld 408576698