Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1324)

Unified Diff: webkit/fileapi/file_system_operation.cc

Issue 6731033: Remove the path from PlatformFileInfo; it's cleaner just to pass it along as a (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/file_system_operation.h ('k') | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_operation.cc
===================================================================
--- webkit/fileapi/file_system_operation.cc (revision 79607)
+++ webkit/fileapi/file_system_operation.cc (working copy)
@@ -454,7 +454,8 @@
void FileSystemOperation::DidDirectoryExists(
base::PlatformFileError rv,
- const base::PlatformFileInfo& file_info) {
+ const base::PlatformFileInfo& file_info,
+ const FilePath& unused) {
if (rv == base::PLATFORM_FILE_OK) {
if (file_info.is_directory)
dispatcher_->DidSucceed();
@@ -468,7 +469,8 @@
void FileSystemOperation::DidFileExists(
base::PlatformFileError rv,
- const base::PlatformFileInfo& file_info) {
+ const base::PlatformFileInfo& file_info,
+ const FilePath& unused) {
if (rv == base::PLATFORM_FILE_OK) {
if (file_info.is_directory)
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_NOT_A_FILE);
@@ -482,9 +484,10 @@
void FileSystemOperation::DidGetMetadata(
base::PlatformFileError rv,
- const base::PlatformFileInfo& file_info) {
+ const base::PlatformFileInfo& file_info,
+ const FilePath& platform_path) {
if (rv == base::PLATFORM_FILE_OK)
- dispatcher_->DidReadMetadata(file_info);
+ dispatcher_->DidReadMetadata(file_info, platform_path);
else
dispatcher_->DidFail(rv);
delete this;
« no previous file with comments | « webkit/fileapi/file_system_operation.h ('k') | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698