Index: base/file_version_info.h |
=================================================================== |
--- base/file_version_info.h (revision 7212) |
+++ base/file_version_info.h (working copy) |
@@ -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 @@ |
// 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 @@ |
VS_FIXEDFILEINFO* fixed_file_info_; |
#elif defined(OS_MACOSX) |
explicit FileVersionInfo(NSBundle *bundle); |
- explicit FileVersionInfo(const std::wstring& file_path); |
NSBundle *bundle_; |
#endif |