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

Unified Diff: webkit/fileapi/file_system_context.h

Issue 16043006: Rename FileSystemMountPointProvider::ValidateFileSystemRoot to OpenFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « webkit/chromeos/fileapi/cros_mount_point_provider.cc ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_context.h
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h
index 03050c182579a388bea12c88824b9d7bdc5b818c..e773806e4d44a15ebe9dfd1c3abcb979a2ce2faf 100644
--- a/webkit/fileapi/file_system_context.h
+++ b/webkit/fileapi/file_system_context.h
@@ -15,6 +15,7 @@
#include "base/memory/scoped_vector.h"
#include "base/platform_file.h"
#include "base/sequenced_task_runner_helpers.h"
+#include "webkit/browser/fileapi/open_file_system_mode.h"
#include "webkit/browser/fileapi/task_runner_bound_observer_list.h"
#include "webkit/fileapi/file_system_types.h"
#include "webkit/fileapi/file_system_url.h"
@@ -157,18 +158,19 @@ class WEBKIT_STORAGE_EXPORT FileSystemContext
void OpenFileSystem(
const GURL& origin_url,
FileSystemType type,
- bool create,
+ OpenFileSystemMode mode,
const OpenFileSystemCallback& callback);
// Opens a syncable filesystem for the given |origin_url|.
// The file system is internally mounted as an external file system at the
// given |mount_name|.
// Currently only kFileSystemTypeSyncable type is supported.
+ // TODO(kinuko): Deprecate this method. (http://crbug.com/177137)
void OpenSyncableFileSystem(
const std::string& mount_name,
const GURL& origin_url,
FileSystemType type,
- bool create,
+ OpenFileSystemMode mode,
const OpenFileSystemCallback& callback);
// Deletes the filesystem for the given |origin_url| and |type|. This should
« no previous file with comments | « webkit/chromeos/fileapi/cros_mount_point_provider.cc ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698