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

Unified Diff: webkit/fileapi/file_system_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_url_request_job.h ('k') | webkit/fileapi/obfuscated_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_url_request_job.cc
diff --git a/webkit/fileapi/file_system_url_request_job.cc b/webkit/fileapi/file_system_url_request_job.cc
index 3eb0842c143a4b8c88609c05606a641aecfa089c..39912f99de8b6846009ede6f34812032d99334f0 100644
--- a/webkit/fileapi/file_system_url_request_job.cc
+++ b/webkit/fileapi/file_system_url_request_job.cc
@@ -5,7 +5,6 @@
#include "webkit/fileapi/file_system_url_request_job.h"
#include "base/compiler_specific.h"
-#include "base/file_util_proxy.h"
#include "base/message_loop.h"
#include "base/platform_file.h"
#include "base/threading/thread_restrictions.h"
@@ -18,6 +17,7 @@
#include "net/base/net_util.h"
#include "net/http/http_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"
@@ -154,7 +154,9 @@ void FileSystemURLRequestJob::DidGetRootPath(bool success,
absolute_file_path_ = root_path.Append(relative_file_path_);
- base::FileUtilProxy::GetFileInfo(file_thread_proxy_, absolute_file_path_,
+ fileapi::FileSystemFileUtilProxy::GetFileInfo(
+ file_system_operation_context_.get(),
+ file_thread_proxy_, absolute_file_path_,
callback_factory_.NewCallback(&FileSystemURLRequestJob::DidResolve));
}
@@ -181,7 +183,8 @@ void FileSystemURLRequestJob::DidResolve(base::PlatformFileError error_code,
}
if (!is_directory_) {
- base::FileUtilProxy::CreateOrOpen(
+ fileapi::FileSystemFileUtilProxy::CreateOrOpen(
+ file_system_operation_context_.get(),
file_thread_proxy_, absolute_file_path_, kFileFlags,
callback_factory_.NewCallback(&FileSystemURLRequestJob::DidOpen));
} else
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.h ('k') | webkit/fileapi/obfuscated_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698