diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 23:05:39 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 23:05:39 +0000 |
commit | 01eb05b0f9f605754a712a483678f781e99bb2a8 (patch) | |
tree | 35e5400ef7d794ab360696efe9192703e5293e2b /base/file_version_info.h | |
parent | 0c47f08078ca7d5f886e8eaa0c4d678656024c51 (diff) | |
download | chromium_src-01eb05b0f9f605754a712a483678f781e99bb2a8.zip chromium_src-01eb05b0f9f605754a712a483678f781e99bb2a8.tar.gz chromium_src-01eb05b0f9f605754a712a483678f781e99bb2a8.tar.bz2 |
Fix chrome not starting up by implementing a straw-man, lieing version
of FileVersionInfoLinux.
This will need to be ripped out later on, but we need it for now because
we can't just return NULL on CreateFileVersionInfoForCurrentModule(),
because the interfaces only expect a NULL on being unable to open a
file.
Review URL: http://codereview.chromium.org/27070
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10218 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_version_info.h')
-rw-r--r-- | base/file_version_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_version_info.h b/base/file_version_info.h index 653aaf3..f31f38f 100644 --- a/base/file_version_info.h +++ b/base/file_version_info.h @@ -83,6 +83,8 @@ class FileVersionInfo { explicit FileVersionInfo(NSBundle *bundle); NSBundle *bundle_; +#elif defined(OS_LINUX) + FileVersionInfo(); #endif DISALLOW_EVIL_CONSTRUCTORS(FileVersionInfo); |