Index: content/browser/file_system/file_system_dispatcher_host.h |
diff --git a/content/browser/file_system/file_system_dispatcher_host.h b/content/browser/file_system/file_system_dispatcher_host.h |
index 17fe2dbd2380a213182b081e45e7f47266ff807b..7f6f3ec119d1aa4f372b162c89d6db38397c562c 100644 |
--- a/content/browser/file_system/file_system_dispatcher_host.h |
+++ b/content/browser/file_system/file_system_dispatcher_host.h |
@@ -21,7 +21,7 @@ class Time; |
namespace fileapi { |
class FileSystemContext; |
-class FileSystemOperation; |
+class FileSystemOperationInterface; |
} |
namespace net { |
@@ -88,13 +88,15 @@ class FileSystemDispatcherHost : public content::BrowserMessageFilter { |
void OnSyncGetPlatformPath(const GURL& path, |
FilePath* platform_path); |
- // Creates a new FileSystemOperation. |
- fileapi::FileSystemOperation* GetNewOperation(int request_id); |
+ // Creates a new FileSystemOperationInterface based on |target_path|. |
+ fileapi::FileSystemOperationInterface* GetNewOperation( |
+ const GURL& target_path, |
+ int request_id); |
fileapi::FileSystemContext* context_; |
// Keeps ongoing file system operations. |
- typedef IDMap<fileapi::FileSystemOperation> OperationsMap; |
+ typedef IDMap<fileapi::FileSystemOperationInterface> OperationsMap; |
OperationsMap operations_; |
// The getter holds the context until Init() can be called from the |