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

Unified Diff: content/browser/file_system/file_system_dispatcher_host.h

Issue 8999017: Add CreateFileSystemOperation() method to FileSystemContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang build fix Created 8 years, 11 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
« no previous file with comments | « no previous file | content/browser/file_system/file_system_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | content/browser/file_system/file_system_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698