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

Unified Diff: webkit/fileapi/file_system_dir_url_request_job.cc

Issue 6471019: Stackable file_util for FileAPIs. Sample code for discussion. Incomplete. Cannot be compiled. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed the Patch Set 3 before reflecting the comments. -UtilBase can be built and works. Created 9 years, 10 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_dir_url_request_job.h ('k') | webkit/fileapi/file_system_file_util_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_dir_url_request_job.cc
diff --git a/webkit/fileapi/file_system_dir_url_request_job.cc b/webkit/fileapi/file_system_dir_url_request_job.cc
index 73b1fa489abd643a6db0753424e8c5e69d504215..db931ccda8f43ddf1457f9a257e66a96206f4482 100644
--- a/webkit/fileapi/file_system_dir_url_request_job.cc
+++ b/webkit/fileapi/file_system_dir_url_request_job.cc
@@ -7,7 +7,6 @@
#include <algorithm>
#include "base/compiler_specific.h"
-#include "base/file_util_proxy.h"
#include "base/message_loop.h"
#include "base/platform_file.h"
#include "base/sys_string_conversions.h"
@@ -19,6 +18,7 @@
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
#include "net/url_request/url_request.h"
+#include "webkit/fileapi/file_system_file_util_proxy.h"
#include "webkit/fileapi/file_system_path_manager.h"
#include "webkit/fileapi/file_system_util.h"
@@ -102,7 +102,9 @@ void FileSystemDirURLRequestJob::DidGetRootPath(bool success,
// We assume it's a directory if we've gotten here: either the path
// ends with '/', or FileSystemDirURLRequestJob already statted it and
// found it to be a directory.
- base::FileUtilProxy::ReadDirectory(file_thread_proxy_, absolute_dir_path_,
+ fileapi::FileSystemFileUtilProxy::ReadDirectory(
+ file_system_operation_context_.get(),
+ file_thread_proxy_, absolute_dir_path_,
callback_factory_.NewCallback(
&FileSystemDirURLRequestJob::DidReadDirectory));
}
« no previous file with comments | « webkit/fileapi/file_system_dir_url_request_job.h ('k') | webkit/fileapi/file_system_file_util_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698