summaryrefslogtreecommitdiffstats
path: root/base/file_version_info.h
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 18:40:42 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 18:40:42 +0000
commit7c1e303fcf556aa07816cc702d5ff06f0d0def12 (patch)
treee7d23fa80217a3b23b09a1d3f6199d3832a47f1b /base/file_version_info.h
parent3baebc3b65f670293c01e9935c7d13770ca89c21 (diff)
downloadchromium_src-7c1e303fcf556aa07816cc702d5ff06f0d0def12.zip
chromium_src-7c1e303fcf556aa07816cc702d5ff06f0d0def12.tar.gz
chromium_src-7c1e303fcf556aa07816cc702d5ff06f0d0def12.tar.bz2
file_version_info was not finding Mac values correctly. Got it now looking in the appropriate bundle.
BUG=NONE TEST=BUILD Review URL: http://codereview.chromium.org/5815001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_version_info.h')
-rw-r--r--base/file_version_info.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/file_version_info.h b/base/file_version_info.h
index 19407d2..41a97fa 100644
--- a/base/file_version_info.h
+++ b/base/file_version_info.h
@@ -24,10 +24,13 @@ class FileVersionInfo {
// goes wrong (typically the file does not exit or cannot be opened). The
// returned object should be deleted when you are done with it.
static FileVersionInfo* CreateFileVersionInfo(const FilePath& file_path);
+#endif // OS_WIN || OS_MACOSX
+
+#if defined(OS_WIN)
// This version, taking a wstring, is deprecated and only kept around
// until we can fix all callers.
static FileVersionInfo* CreateFileVersionInfo(const std::wstring& file_path);
-#endif
+#endif // OS_WIN
// Creates a FileVersionInfo for the current module. Returns NULL in case
// of error. The returned object should be deleted when you are done with it.