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

Unified Diff: webkit/chromeos/fileapi/cros_mount_point_provider.cc

Issue 9372044: Refactor FileSystemOperation to take callback for each method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: webkit/chromeos/fileapi/cros_mount_point_provider.cc
diff --git a/webkit/chromeos/fileapi/cros_mount_point_provider.cc b/webkit/chromeos/fileapi/cros_mount_point_provider.cc
index d2804afde4169967a7d961899140ecffadb68a90..1eaf008394b4f1d3a3e9d32d9e2384e82f1700fa 100644
--- a/webkit/chromeos/fileapi/cros_mount_point_provider.cc
+++ b/webkit/chromeos/fileapi/cros_mount_point_provider.cc
@@ -16,7 +16,6 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
#include "webkit/chromeos/fileapi/file_access_permissions.h"
-#include "webkit/fileapi/file_system_callback_dispatcher.h"
#include "webkit/fileapi/file_system_operation.h"
#include "webkit/fileapi/file_system_util.h"
#include "webkit/fileapi/native_file_util.h"
@@ -184,13 +183,11 @@ CrosMountPointProvider::CreateFileSystemOperation(
const GURL& origin_url,
fileapi::FileSystemType file_system_type,
const FilePath& virtual_path,
- scoped_ptr<fileapi::FileSystemCallbackDispatcher> dispatcher,
base::MessageLoopProxy* file_proxy,
fileapi::FileSystemContext* context) const {
// TODO(satorux,zel): instantiate appropriate FileSystemOperation that
// implements async/remote operations.
- return new fileapi::FileSystemOperation(
- dispatcher.Pass(), file_proxy, context);
+ return new fileapi::FileSystemOperation(file_proxy, context);
}
bool CrosMountPointProvider::GetVirtualPath(const FilePath& filesystem_path,

Powered by Google App Engine
This is Rietveld 408576698