diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 18:27:27 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-01 18:27:27 +0000 |
commit | 1f2fe99dc4baa689bf34cef8c85f105d5957db75 (patch) | |
tree | f67a6a0daf19a014c384059443045b29269977d6 /base/file_version_info_mac.mm | |
parent | d659132ecf7a4948bc74593da6a62bf094bbf52b (diff) | |
download | chromium_src-1f2fe99dc4baa689bf34cef8c85f105d5957db75.zip chromium_src-1f2fe99dc4baa689bf34cef8c85f105d5957db75.tar.gz chromium_src-1f2fe99dc4baa689bf34cef8c85f105d5957db75.tar.bz2 |
Tweak SVNVersion be happier (matches windows).
Fix about:version so "Developer build" says "Official build" when
relevant, and lists SVN version for developer builds.
BUG=12064
Review URL: http://codereview.chromium.org/118036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_version_info_mac.mm')
-rw-r--r-- | base/file_version_info_mac.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/base/file_version_info_mac.mm b/base/file_version_info_mac.mm index 00f470b..7090003 100644 --- a/base/file_version_info_mac.mm +++ b/base/file_version_info_mac.mm @@ -103,11 +103,15 @@ std::wstring FileVersionInfo::special_build() { } std::wstring FileVersionInfo::last_change() { - return L""; + return GetStringValue(L"SVNRevision"); } bool FileVersionInfo::is_official_build() { +#if defined (GOOGLE_CHROME_BUILD) + return true; +#else return false; +#endif } bool FileVersionInfo::GetValue(const wchar_t* name, std::wstring* value_str) { |