diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-22 23:55:45 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-22 23:55:45 +0000 |
commit | 70910be7c6ef2377240bd3a32d1dcabc31ad0dd3 (patch) | |
tree | c8d7b8db9b973596e3cfe453900cd306d30da3fe /base/file_version_info_win.h | |
parent | 6b98e52b28fa37b71d4dd80556e936277a85dbc6 (diff) | |
download | chromium_src-70910be7c6ef2377240bd3a32d1dcabc31ad0dd3.zip chromium_src-70910be7c6ef2377240bd3a32d1dcabc31ad0dd3.tar.gz chromium_src-70910be7c6ef2377240bd3a32d1dcabc31ad0dd3.tar.bz2 |
Base: Fix FileVersionInfo::CreateFileVersionInfoForCurrentModule so that
when base is built as a dll, the module that is inspected for the version
info is the one that makes the call instead of base.dll
BUG=76996
TEST=none
Review URL: http://codereview.chromium.org/6897016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_version_info_win.h')
-rw-r--r-- | base/file_version_info_win.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/file_version_info_win.h b/base/file_version_info_win.h index 95652b0..89ac67e 100644 --- a/base/file_version_info_win.h +++ b/base/file_version_info_win.h @@ -16,10 +16,10 @@ struct tagVS_FIXEDFILEINFO; typedef tagVS_FIXEDFILEINFO VS_FIXEDFILEINFO; -class BASE_API FileVersionInfoWin : public FileVersionInfo { +class FileVersionInfoWin : public FileVersionInfo { public: - FileVersionInfoWin(void* data, int language, int code_page); - ~FileVersionInfoWin(); + BASE_API FileVersionInfoWin(void* data, int language, int code_page); + BASE_API ~FileVersionInfoWin(); // Accessors to the different version properties. // Returns an empty string if the property is not found. @@ -41,11 +41,11 @@ class BASE_API FileVersionInfoWin : public FileVersionInfo { virtual bool is_official_build(); // Lets you access other properties not covered above. - bool GetValue(const wchar_t* name, std::wstring* value); + BASE_API bool GetValue(const wchar_t* name, std::wstring* value); // Similar to GetValue but returns a wstring (empty string if the property // does not exist). - std::wstring GetStringValue(const wchar_t* name); + BASE_API std::wstring GetStringValue(const wchar_t* name); // Get the fixed file info if it exists. Otherwise NULL VS_FIXEDFILEINFO* fixed_file_info() { return fixed_file_info_; } |