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

Unified Diff: webkit/fileapi/file_system_context.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_context.h
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h
index 924dfb53cc99f6683174c6a53a01727674976a63..a2ce512486fd556f7bae9f741c59e5ba1353a900 100644
--- a/webkit/fileapi/file_system_context.h
+++ b/webkit/fileapi/file_system_context.h
@@ -29,6 +29,7 @@ class FileSystemCallbackDispatcher;
class FileSystemContext;
class FileSystemFileUtil;
class FileSystemMountPointProvider;
+class FileSystemOperationInterface;
class FileSystemOptions;
class FileSystemPathManager;
class FileSystemQuotaUtil;
@@ -99,6 +100,13 @@ class FileSystemContext
bool create,
FileSystemCallbackDispatcher* dispatcher);
+ // Creates a new FileSystemOperation based on the given |url| that
+ // must be pointing to the target filesystem entry of the operation.
+ FileSystemOperationInterface* CreateFileSystemOperation(
+ const GURL& url,
+ FileSystemCallbackDispatcher* dispatcher,
+ base::MessageLoopProxy* file_proxy);
+
private:
friend struct DefaultContextDeleter;
void DeleteOnCorrectThread() const;

Powered by Google App Engine
This is Rietveld 408576698