summaryrefslogtreecommitdiffstats
path: root/base/file_version_info.h
diff options
context:
space:
mode:
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 d2d6630..653aaf3 100644
--- a/base/file_version_info.h
+++ b/base/file_version_info.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/file_path.h"
#include "base/scoped_ptr.h"
#ifdef OS_MACOSX
@@ -27,6 +28,9 @@ class FileVersionInfo {
// Creates a FileVersionInfo for the specified path. Returns NULL if something
// 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);
+ // 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);
// Creates a FileVersionInfo for the current module. Returns NULL in case
@@ -77,7 +81,6 @@ class FileVersionInfo {
VS_FIXEDFILEINFO* fixed_file_info_;
#elif defined(OS_MACOSX)
explicit FileVersionInfo(NSBundle *bundle);
- explicit FileVersionInfo(const std::wstring& file_path);
NSBundle *bundle_;
#endif