summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util_linux.cc
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 19:46:26 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 19:46:26 +0000
commitd87dae2f56e7a32444dfc8750c4c560becf7548a (patch)
treeddf9f70350fb7904c589d45f6cd08c6fd0ae8ab1 /chrome/common/platform_util_linux.cc
parent2393d25daf892ef6d891ed9c7bacc4f4a11cf0f7 (diff)
downloadchromium_src-d87dae2f56e7a32444dfc8750c4c560becf7548a.zip
chromium_src-d87dae2f56e7a32444dfc8750c4c560becf7548a.tar.gz
chromium_src-d87dae2f56e7a32444dfc8750c4c560becf7548a.tar.bz2
Move channel (beta,dev,stable) determination code to a common location.
Add channel info to about:version. Linux about box work not done. Linux channel determination code still a stub. BUG=30444 How to verify: - on both Mac and Win, with a branded build: - confirm the About Box and about:version have channel info after the version number. Channel for PC comes from the registry so it'll be the channel of your official install, not this build. Channel for Mac comes from the Info.plist so it WILL be from the current version; stable if undefined. Review URL: http://codereview.chromium.org/506007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util_linux.cc')
-rw-r--r--chrome/common/platform_util_linux.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/platform_util_linux.cc b/chrome/common/platform_util_linux.cc
index b7853c5..79990a5 100644
--- a/chrome/common/platform_util_linux.cc
+++ b/chrome/common/platform_util_linux.cc
@@ -88,4 +88,13 @@ void SimpleErrorBox(gfx::NativeWindow parent,
gtk_widget_show_all(dialog);
}
+/* Warning: this may be either Linux or ChromeOS */
+string16 GetVersionStringModifier() {
+#if defined(GOOGLE_CHROME_BUILD)
+ return EmptyString16(); /* TODO(jrg,mmoss) */
+#else
+ return EmptyString16();
+#endif
+}
+
} // namespace platform_util