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

Unified Diff: base/linux_util.cc

Issue 8479002: Differentiate TOUCH_UI builds in crash reporting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Avoid nested ifdef Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/linux_util.cc
diff --git a/base/linux_util.cc b/base/linux_util.cc
index 143d9193b2bf9c1a662ae7cac22b366d697971e5..751b28f418307f912fc8a203520f392ea24e8952 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";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698