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

Unified Diff: webkit/fileapi/file_system_context.cc

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/fileapi/file_system_context.h ('k') | webkit/fileapi/file_system_file_stream_reader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_context.cc
diff --git a/webkit/fileapi/file_system_context.cc b/webkit/fileapi/file_system_context.cc
index f9505374046c93b5ecabb86a901f754e8bd5215d..8c8b29943c4251edb0a165ab1c51691dc918c44d 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -213,7 +213,7 @@ FileSystemContext::external_provider() const {
void FileSystemContext::OpenFileSystem(
const GURL& origin_url,
FileSystemType type,
- bool create,
+ OpenFileSystemMode mode,
const OpenFileSystemCallback& callback) {
DCHECK(!callback.is_null());
@@ -227,8 +227,8 @@ void FileSystemContext::OpenFileSystem(
GURL root_url = GetFileSystemRootURI(origin_url, type);
std::string name = GetFileSystemName(origin_url, type);
- mount_point_provider->ValidateFileSystemRoot(
- origin_url, type, create,
+ mount_point_provider->OpenFileSystem(
+ origin_url, type, mode,
base::Bind(&DidOpenFileSystem, callback, root_url, name));
}
@@ -236,7 +236,7 @@ void FileSystemContext::OpenSyncableFileSystem(
const std::string& mount_name,
const GURL& origin_url,
FileSystemType type,
- bool create,
+ OpenFileSystemMode mode,
const OpenFileSystemCallback& callback) {
DCHECK(!callback.is_null());
@@ -249,8 +249,8 @@ void FileSystemContext::OpenSyncableFileSystem(
FileSystemMountPointProvider* mount_point_provider =
GetMountPointProvider(type);
DCHECK(mount_point_provider);
- mount_point_provider->ValidateFileSystemRoot(
- origin_url, type, create,
+ mount_point_provider->OpenFileSystem(
+ origin_url, type, mode,
base::Bind(&DidOpenFileSystem, callback, root_url, name));
}
« no previous file with comments | « webkit/fileapi/file_system_context.h ('k') | webkit/fileapi/file_system_file_stream_reader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698