summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util_linux.cc
diff options
context:
space:
mode:
authormmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 21:40:29 +0000
committermmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 21:40:29 +0000
commit01de0ce020b982f597ef6afe2b73cc2f275a7227 (patch)
tree810f92b3c468e6dc0aad3a09886c92b8c4bee06d /chrome/common/platform_util_linux.cc
parent5ef3f544a256a572d90dd9aae0eba58a08667eef (diff)
downloadchromium_src-01de0ce020b982f597ef6afe2b73cc2f275a7227.zip
chromium_src-01de0ce020b982f597ef6afe2b73cc2f275a7227.tar.gz
chromium_src-01de0ce020b982f597ef6afe2b73cc2f275a7227.tar.bz2
Support custom Linux version strings (e.g. release channel, downstream vendor name, etc.).
Also reformat the Mac/Win version strings as per comments in http://codereview.chromium.org/506007. Review URL: http://codereview.chromium.org/506016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34609 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util_linux.cc')
-rw-r--r--chrome/common/platform_util_linux.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/common/platform_util_linux.cc b/chrome/common/platform_util_linux.cc
index 79990a5..eb991ef 100644
--- a/chrome/common/platform_util_linux.cc
+++ b/chrome/common/platform_util_linux.cc
@@ -90,11 +90,7 @@ void SimpleErrorBox(gfx::NativeWindow parent,
/* Warning: this may be either Linux or ChromeOS */
string16 GetVersionStringModifier() {
-#if defined(GOOGLE_CHROME_BUILD)
- return EmptyString16(); /* TODO(jrg,mmoss) */
-#else
- return EmptyString16();
-#endif
+ return ASCIIToUTF16(getenv("CHROME_VERSION_EXTRA"));
}
} // namespace platform_util