diff options
author | rbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-15 20:54:06 +0000 |
---|---|---|
committer | rbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-15 20:54:06 +0000 |
commit | cbf0d1d72e5df6bdf02a9e29e13b3e160a5d2739 (patch) | |
tree | 89b0292f92212eb1fd3a314b42d67d8c9c548fe6 /base/linux_util.cc | |
parent | f89f58add772d9c9037334d42d8f167123eb372e (diff) | |
download | chromium_src-cbf0d1d72e5df6bdf02a9e29e13b3e160a5d2739.zip chromium_src-cbf0d1d72e5df6bdf02a9e29e13b3e160a5d2739.tar.gz chromium_src-cbf0d1d72e5df6bdf02a9e29e13b3e160a5d2739.tar.bz2 |
Set linux distro to CHROMEOS_RELEASE_DESCRIPTION on ChromeOS
This makes ChromeOS more consistent with Linux, which uses the DISTRIB_DESCRIPTION from /etc/lsb-release here. We have a different pre-existing mechanism in the code for reading the value (since ChromeOS doesn't have the lsb_release tool), but it's conceptually the same thing.
This makes it possible to search / catagorize ChromeOS crash reports based on the build, or other information about the ChromeOS version. It also allows the matching build/symbols to be more easily found given a crash report.
There's no need for Aura customization of distro anymore - that was added when
Aura was experimental. All ChromeOS is now Aura.
BUG=142630
Review URL: https://chromiumcodereview.appspot.com/10827322
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/linux_util.cc')
-rw-r--r-- | base/linux_util.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/base/linux_util.cc b/base/linux_util.cc index ae43315..49df773 100644 --- a/base/linux_util.cc +++ b/base/linux_util.cc @@ -132,9 +132,7 @@ 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) && defined(USE_AURA) - "CrOS Aura"; -#elif defined(OS_CHROMEOS) +#if defined(OS_CHROMEOS) "CrOS"; #elif defined(OS_ANDROID) "Android"; |