diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 17:00:19 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 17:00:19 +0000 |
commit | 0c9649c6ab1dbc87b133ccd561e8ecfd91cd6c73 (patch) | |
tree | 8e2fa78ff12f769736763f4cece5fe0a33787d22 /net/http/http_stream_factory.h | |
parent | e6344a711787c86d5431558145258bc83673e078 (diff) | |
download | chromium_src-0c9649c6ab1dbc87b133ccd561e8ecfd91cd6c73.zip chromium_src-0c9649c6ab1dbc87b133ccd561e8ecfd91cd6c73.tar.gz chromium_src-0c9649c6ab1dbc87b133ccd561e8ecfd91cd6c73.tar.bz2 |
Set user-visible machine names and devices types for synced sessions.
On OSX:
- Read the computer name, falling back to reading hw.model and stripping any trialing numbers. This will give us
something like MacBookPro, iMac, MacBookAir.
On Linux:
- Use distro name which gives something like "Ubuntu 10.04.2 LTS".
On Windows:
- Use the computer name
On ChromeOS:
- Use "Chromebook"
BUG=94693, 59672
TEST=enable session sync, sync two clients, and then look at the entries in about:sync and see that the "client_name" is set
Review URL: http://codereview.chromium.org/7740055
Patch from Yaar Friedman <yfriedman@chromium.org>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream_factory.h')
0 files changed, 0 insertions, 0 deletions