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/local_file_system_file_util.cc | |
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/local_file_system_file_util.cc')
-rw-r--r-- | webkit/fileapi/local_file_system_file_util.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/fileapi/local_file_system_file_util.cc b/webkit/fileapi/local_file_system_file_util.cc index 8def3f6..068a052 100644 --- a/webkit/fileapi/local_file_system_file_util.cc +++ b/webkit/fileapi/local_file_system_file_util.cc @@ -47,14 +47,15 @@ PlatformFileError LocalFileSystemFileUtil::EnsureFileExists( PlatformFileError LocalFileSystemFileUtil::GetFileInfo( FileSystemOperationContext* context, const FilePath& file_path, - base::PlatformFileInfo* file_info) { + base::PlatformFileInfo* file_info, + FilePath* platform_file_path) { FilePath local_path = GetLocalPath(context, context->src_origin_url(), context->src_type(), file_path); if (local_path.empty()) return base::PLATFORM_FILE_ERROR_INVALID_OPERATION; return FileSystemFileUtil::GetInstance()->GetFileInfo( - context, local_path, file_info); + context, local_path, file_info, platform_file_path); } PlatformFileError LocalFileSystemFileUtil::ReadDirectory( |