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

Unified Diff: webkit/fileapi/file_system_mount_point_provider.h

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_mount_point_provider.h
diff --git a/webkit/fileapi/file_system_mount_point_provider.h b/webkit/fileapi/file_system_mount_point_provider.h
index 7d9974c1d635f7a278070db9eece59f6af7bf5ad..9778ca199a82724a8bb7cd8d8515e45b7347c43d 100644
--- a/webkit/fileapi/file_system_mount_point_provider.h
+++ b/webkit/fileapi/file_system_mount_point_provider.h
@@ -15,9 +15,16 @@
class GURL;
+namespace base {
+class MessageLoopProxy;
+}
+
namespace fileapi {
+class FileSystemCallbackDispatcher;
+class FileSystemContext;
class FileSystemFileUtil;
+class FileSystemOperationInterface;
// An interface to provide mount-point-specific path-related utilities
// and specialized FileSystemFileUtil instance.
@@ -65,6 +72,14 @@ class FileSystemMountPointProvider {
// Returns the specialized FileSystemFileUtil for this mount point.
virtual FileSystemFileUtil* GetFileUtil() = 0;
+
+ // Returns a new instance of the specialized FileSystemOperation for this
+ // mount point based on the given |url|.
+ virtual FileSystemOperationInterface* CreateFileSystemOperation(
satorux1 2011/12/27 20:55:34 There is also FileSystemContext::CreateFileSystemO
kinuko 2012/01/13 08:28:35 Added some comments why we have both. We can get
+ const GURL& url,
+ FileSystemCallbackDispatcher* dispatcher,
+ base::MessageLoopProxy* file_proxy,
+ FileSystemContext* context) const = 0;
};
// An interface to control external file system access permissions.

Powered by Google App Engine
This is Rietveld 408576698