diff options
author | ericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 22:26:50 +0000 |
---|---|---|
committer | ericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-28 22:26:50 +0000 |
commit | bacef3cbbc55efebb2573194d329eabac5f5c7e3 (patch) | |
tree | caa96791f328bb36601bcb839e6544f3cfdf8290 /webkit/fileapi/file_system_file_util_proxy.h | |
parent | 748ce719f7594754695dfbd17b35618a58a5ffd1 (diff) | |
download | chromium_src-bacef3cbbc55efebb2573194d329eabac5f5c7e3.zip chromium_src-bacef3cbbc55efebb2573194d329eabac5f5c7e3.tar.gz chromium_src-bacef3cbbc55efebb2573194d329eabac5f5c7e3.tar.bz2 |
Remove the path from PlatformFileInfo; it's cleaner just to pass it along as a
separate parameter, and not clutter up a base type.
BUG:none
TEST:none
Review URL: http://codereview.chromium.org/6731033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_file_util_proxy.h')
-rw-r--r-- | webkit/fileapi/file_system_file_util_proxy.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_file_util_proxy.h b/webkit/fileapi/file_system_file_util_proxy.h index 288d4cf..de4b320 100644 --- a/webkit/fileapi/file_system_file_util_proxy.h +++ b/webkit/fileapi/file_system_file_util_proxy.h @@ -25,6 +25,8 @@ class FileSystemOperationContext; using base::MessageLoopProxy; using base::PlatformFile; +using base::PlatformFileError; +using base::PlatformFileInfo; // This class provides asynchronous access to common file routines for the // FileSystem API. @@ -34,7 +36,10 @@ class FileSystemFileUtilProxy { typedef base::FileUtilProxy::CreateOrOpenCallback CreateOrOpenCallback; typedef base::FileUtilProxy::EnsureFileExistsCallback EnsureFileExistsCallback; - typedef base::FileUtilProxy::GetFileInfoCallback GetFileInfoCallback; + typedef Callback3<PlatformFileError /* error code */, + const PlatformFileInfo& /* file_info */, + const FilePath& /* platform_path, where possible */ + >::Type GetFileInfoCallback; typedef base::FileUtilProxy::ReadDirectoryCallback ReadDirectoryCallback; // Creates or opens a file with the given flags. It is invalid to pass NULL |