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

Unified Diff: webkit/fileapi/file_system_operation.cc

Issue 8999017: Add CreateFileSystemOperation() method to FileSystemContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased from patch 9016020 Created 9 years 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
Index: webkit/fileapi/file_system_operation.cc
diff --git a/webkit/fileapi/file_system_operation.cc b/webkit/fileapi/file_system_operation.cc
index 2f2634ba84a2ded3f9ac9132f6266499d9c0b165..5c5fb65a5f4b649a931b340a08169e7c2946ba87 100644
--- a/webkit/fileapi/file_system_operation.cc
+++ b/webkit/fileapi/file_system_operation.cc
@@ -57,18 +57,6 @@ FileSystemOperation::ScopedQuotaUtilHelper::~ScopedQuotaUtilHelper() {
}
}
-FileSystemOperation::FileSystemOperation(
- FileSystemCallbackDispatcher* dispatcher,
- scoped_refptr<base::MessageLoopProxy> proxy,
- FileSystemContext* file_system_context)
- : proxy_(proxy),
- dispatcher_(dispatcher),
- operation_context_(file_system_context, NULL) {
-#ifndef NDEBUG
- pending_operation_ = kOperationNone;
-#endif
-}
-
FileSystemOperation::~FileSystemOperation() {
if (file_writer_delegate_.get()) {
FileSystemOperationContext* c =
@@ -464,6 +452,18 @@ void FileSystemOperation::OpenFile(const GURL& path,
base::Unretained(this), file_flags));
}
+FileSystemOperation::FileSystemOperation(
+ FileSystemCallbackDispatcher* dispatcher,
+ scoped_refptr<base::MessageLoopProxy> proxy,
+ FileSystemContext* file_system_context)
+ : proxy_(proxy),
+ dispatcher_(dispatcher),
+ operation_context_(file_system_context, NULL) {
+#ifndef NDEBUG
+ pending_operation_ = kOperationNone;
+#endif
+}
+
void FileSystemOperation::DelayedOpenFileForQuota(int file_flags,
quota::QuotaStatusCode status,
int64 usage, int64 quota) {

Powered by Google App Engine
This is Rietveld 408576698