diff options
author | rbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 16:04:02 +0000 |
---|---|---|
committer | rbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-10 16:04:02 +0000 |
commit | 09996cf72c6506ec18637e4e4842ddb2ec1f7a10 (patch) | |
tree | b0e1f20eb431d885d0163f8e4433af40563c9d9e /base | |
parent | 374bf5915917fbd4d4ecd11e17b2edb8d648728b (diff) | |
download | chromium_src-09996cf72c6506ec18637e4e4842ddb2ec1f7a10.zip chromium_src-09996cf72c6506ec18637e4e4842ddb2ec1f7a10.tar.gz chromium_src-09996cf72c6506ec18637e4e4842ddb2ec1f7a10.tar.bz2 |
Differentiate TOUCH_UI builds in crash reporting.
In TOUCH_UI ChromeOS builds, augment the Linux distro so that crash reports
will have lsb-release="CrOS Touch" instead of just "CrOS". This mirrors the
change in User-Agent in TOUCH_UI builds as well (see BuildOSCpuInfo() in
webkit/glue/user_agent.cc).
BUG=chromium-os:22255
TEST=Manual
Review URL: http://codereview.chromium.org/8479002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/linux_util.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc index 143d919..751b28f 100644 --- a/base/linux_util.cc +++ b/base/linux_util.cc @@ -131,7 +131,9 @@ static const int kDistroSize = 128 + 1; // We use this static string to hold the Linux distro info. If we // crash, the crash handler code will send this in the crash dump. char g_linux_distro[kDistroSize] = -#if defined(OS_CHROMEOS) +#if defined(OS_CHROMEOS) && defined(TOUCH_UI) + "CrOS Touch"; +#elif defined(OS_CHROMEOS) "CrOS"; #else // if defined(OS_LINUX) "Unknown"; |