diff options
Diffstat (limited to 'base/platform_file.h')
-rw-r--r-- | base/platform_file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/platform_file.h b/base/platform_file.h index 5d84262..0dbf4e4 100644 --- a/base/platform_file.h +++ b/base/platform_file.h @@ -12,6 +12,8 @@ #include <string> +class FilePath; + namespace base { #if defined(OS_WIN) @@ -40,6 +42,10 @@ enum PlatformFileFlags { // Creates or opens the given file. If PLATFORM_FILE_OPEN_ALWAYS is used, and // |created| is provided, |created| will be set to true if the file was created // or to false in case the file was just opened. +PlatformFile CreatePlatformFile(const FilePath& name, + int flags, + bool* created); +// Deprecated. PlatformFile CreatePlatformFile(const std::wstring& name, int flags, bool* created); |