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

Unified Diff: chrome/common/chrome_version_info_linux.cc

Issue 8883043: Chrome version info getter for Chrome OS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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
Index: chrome/common/chrome_version_info_linux.cc
===================================================================
--- chrome/common/chrome_version_info_linux.cc (revision 113742)
+++ chrome/common/chrome_version_info_linux.cc (working copy)
@@ -6,7 +6,7 @@
namespace chrome {
-// static. Warning: this may be either Linux or ChromeOS.
+// static
std::string VersionInfo::GetVersionStringModifier() {
char* env = getenv("CHROME_VERSION_EXTRA");
if (!env)
@@ -29,7 +29,7 @@
return modifier;
}
-// static. Warning: this may be either Linux or ChromeOS.
+// static
VersionInfo::Channel VersionInfo::GetChannel() {
#if defined(GOOGLE_CHROME_BUILD)
std::string channel = GetVersionStringModifier();

Powered by Google App Engine
This is Rietveld 408576698