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

Unified Diff: webkit/browser/fileapi/local_file_system_cross_operation_unittest.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
Index: webkit/browser/fileapi/local_file_system_cross_operation_unittest.cc
diff --git a/webkit/browser/fileapi/local_file_system_cross_operation_unittest.cc b/webkit/browser/fileapi/local_file_system_cross_operation_unittest.cc
index 5fb90fb2b945c1dc8867db5dd3a7209cdefa90f6..9811e2b20ddaca7070b10053fa36b6b1fdb15880 100644
--- a/webkit/browser/fileapi/local_file_system_cross_operation_unittest.cc
+++ b/webkit/browser/fileapi/local_file_system_cross_operation_unittest.cc
@@ -71,12 +71,16 @@ class CrossOperationTestHelper {
// Prepare the origin's root directory.
FileSystemMountPointProvider* mount_point_provider =
file_system_context_->GetMountPointProvider(src_type_);
- mount_point_provider->ValidateFileSystemRoot(
- origin_, src_type_, true /* create */, base::Bind(&ExpectOk));
+ mount_point_provider->OpenFileSystem(
+ origin_, src_type_,
+ OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
+ base::Bind(&ExpectOk));
mount_point_provider =
file_system_context_->GetMountPointProvider(dest_type_);
- mount_point_provider->ValidateFileSystemRoot(
- origin_, dest_type_, true /* create */, base::Bind(&ExpectOk));
+ mount_point_provider->OpenFileSystem(
+ origin_, dest_type_,
+ OPEN_FILE_SYSTEM_CREATE_IF_NONEXISTENT,
+ base::Bind(&ExpectOk));
base::MessageLoop::current()->RunUntilIdle();
// Grant relatively big quota initially.
« no previous file with comments | « webkit/browser/fileapi/isolated_mount_point_provider.cc ('k') | webkit/browser/fileapi/open_file_system_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698