diff options
author | mmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 21:40:29 +0000 |
---|---|---|
committer | mmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-15 21:40:29 +0000 |
commit | 01de0ce020b982f597ef6afe2b73cc2f275a7227 (patch) | |
tree | 810f92b3c468e6dc0aad3a09886c92b8c4bee06d /chrome/common/platform_util_linux.cc | |
parent | 5ef3f544a256a572d90dd9aae0eba58a08667eef (diff) | |
download | chromium_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.cc | 6 |
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 |