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

Unified Diff: webkit/browser/fileapi/file_system_backend.h

Issue 19092002: FileAPI: Change FileSystemBackend::OpenFileSystem signature (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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/browser/fileapi/file_system_backend.h
diff --git a/webkit/browser/fileapi/file_system_backend.h b/webkit/browser/fileapi/file_system_backend.h
index dc9c0c5d106ed0f95d6bedfb603b28a82b0ea738..37cb6b066b894b7a39930b4117f0e6d1335c3d7e 100644
--- a/webkit/browser/fileapi/file_system_backend.h
+++ b/webkit/browser/fileapi/file_system_backend.h
@@ -42,11 +42,11 @@ class RemoteFileSystemProxyInterface;
//
class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemBackend {
public:
- // Callback for OpenFileSystem.
+ // Callback for InitializeFileSystem.
typedef base::Callback<void(const GURL& root_url,
const std::string& name,
base::PlatformFileError error)>
- OpenFileSystemCallback;
+ InitializeFileSystemCallback;
virtual ~FileSystemBackend() {}
// Returns true if this mount point provider can handle |type|.
@@ -59,11 +59,12 @@ class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemBackend {
// If |mode| is CREATE_IF_NONEXISTENT calling this may also create
// the root directory (and/or related database entries etc) for
// the filesystem if it doesn't exist.
- virtual void OpenFileSystem(
+ virtual void InitializeFileSystem(
const GURL& origin_url,
FileSystemType type,
OpenFileSystemMode mode,
- const OpenFileSystemCallback& callback) = 0;
+ FileSystemContext* context,
+ const InitializeFileSystemCallback& callback) = 0;
// Returns the specialized FileSystemFileUtil for this mount point.
// It is ok to return NULL if the filesystem doesn't support synchronous
« no previous file with comments | « webkit/browser/fileapi/copy_or_move_operation_delegate_unittest.cc ('k') | webkit/browser/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698