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

Unified Diff: base/file_version_info_mac.mm

Issue 118036: Tweak SVNVersion be happier (matches windows).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months 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
« no previous file with comments | « no previous file | build/mac/tweak_app_infoplist » ('j') | build/mac/tweak_app_infoplist » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_version_info_mac.mm
===================================================================
--- base/file_version_info_mac.mm (revision 17147)
+++ base/file_version_info_mac.mm (working copy)
@@ -103,11 +103,15 @@
}
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) {
« no previous file with comments | « no previous file | build/mac/tweak_app_infoplist » ('j') | build/mac/tweak_app_infoplist » ('J')

Powered by Google App Engine
This is Rietveld 408576698