diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-12 21:39:37 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-12 21:39:37 +0000 |
commit | f294da7127cd4c278aa1f172e94d382250e92e4e (patch) | |
tree | 2a7e899a35be6d2a899ae7916a3a250c362a53a9 /base/platform_file.h | |
parent | 59fea0a2182828f3410a16ae68296cc9dcbbf8c2 (diff) | |
download | chromium_src-f294da7127cd4c278aa1f172e94d382250e92e4e.zip chromium_src-f294da7127cd4c278aa1f172e94d382250e92e4e.tar.gz chromium_src-f294da7127cd4c278aa1f172e94d382250e92e4e.tar.bz2 |
Step 2 in porting disk cache to using FilePath.
BUG=24444
Review URL: http://codereview.chromium.org/270066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28742 0039d316-1c4b-4281-b951-d872f2087c98
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); |