summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_operation.cc
diff options
context:
space:
mode:
authorkkanetkar@chromium.org <kkanetkar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 20:36:52 +0000
committerkkanetkar@chromium.org <kkanetkar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 20:36:52 +0000
commit841daf1da7feb933fb5ae82d86f82f1d218ad912 (patch)
tree1cf23b1c6648d7d61129b74ab61c98f87b37db87 /webkit/fileapi/file_system_operation.cc
parent2ba5f33bc46a606baaac64a23c78e8726a2c8edd (diff)
downloadchromium_src-841daf1da7feb933fb5ae82d86f82f1d218ad912.zip
chromium_src-841daf1da7feb933fb5ae82d86f82f1d218ad912.tar.gz
chromium_src-841daf1da7feb933fb5ae82d86f82f1d218ad912.tar.bz2
Moving Entry from base::file_util_proxy namespace to within class base::FileUtilProxy
BUG=None TEST=None Review URL: http://codereview.chromium.org/4261001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_operation.cc')
-rw-r--r--webkit/fileapi/file_system_operation.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/webkit/fileapi/file_system_operation.cc b/webkit/fileapi/file_system_operation.cc
index 0e2e823..fe07758 100644
--- a/webkit/fileapi/file_system_operation.cc
+++ b/webkit/fileapi/file_system_operation.cc
@@ -256,8 +256,9 @@ void FileSystemOperation::DidDirectoryExists(
dispatcher_->DidSucceed();
else
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_FAILED);
- } else
+ } else {
dispatcher_->DidFail(rv);
+ }
}
void FileSystemOperation::DidFileExists(
@@ -268,8 +269,9 @@ void FileSystemOperation::DidFileExists(
dispatcher_->DidFail(base::PLATFORM_FILE_ERROR_FAILED);
else
dispatcher_->DidSucceed();
- } else
+ } else {
dispatcher_->DidFail(rv);
+ }
}
void FileSystemOperation::DidGetMetadata(
@@ -283,7 +285,7 @@ void FileSystemOperation::DidGetMetadata(
void FileSystemOperation::DidReadDirectory(
base::PlatformFileError rv,
- const std::vector<base::file_util_proxy::Entry>& entries) {
+ const std::vector<base::FileUtilProxy::Entry>& entries) {
if (rv == base::PLATFORM_FILE_OK)
dispatcher_->DidReadDirectory(entries, false /* has_more */);
else