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

Unified Diff: webkit/fileapi/file_system_test_helper.cc

Issue 9016020: Cleanup FileSystemOperation for preparing for adding FSO-factory method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more cleanup around ValidateFileSystemRoot Created 9 years 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/fileapi/file_system_test_helper.cc
diff --git a/webkit/fileapi/file_system_test_helper.cc b/webkit/fileapi/file_system_test_helper.cc
index e4fc1759f2257d87b3773aae55d557d07d52195a..c7c19a183e77f7a94eb2e409adb8dcec835e19ca 100644
--- a/webkit/fileapi/file_system_test_helper.cc
+++ b/webkit/fileapi/file_system_test_helper.cc
@@ -50,7 +50,7 @@ void FileSystemTestOriginHelper::SetUp(
// Prepare the origin's root directory.
file_system_context_->GetMountPointProvider(type_)->
- ValidateFileSystemRootAndGetPathOnFileThread(
+ GetFileSystemRootPathOnFileThread(
origin_, type_, FilePath(), true /* create */);
// Initialize the usage cache file.
@@ -81,7 +81,7 @@ void FileSystemTestOriginHelper::SetUp(
// Prepare the origin's root directory.
file_system_context_->GetMountPointProvider(type_)->
- ValidateFileSystemRootAndGetPathOnFileThread(
+ GetFileSystemRootPathOnFileThread(
origin_, type_, FilePath(), true /* create */);
// Initialize the usage cache file. This code assumes that we're either using
@@ -98,7 +98,7 @@ void FileSystemTestOriginHelper::TearDown() {
FilePath FileSystemTestOriginHelper::GetOriginRootPath() const {
return file_system_context_->GetMountPointProvider(type_)->
- ValidateFileSystemRootAndGetPathOnFileThread(
+ GetFileSystemRootPathOnFileThread(
origin_, type_, FilePath(), false);
}

Powered by Google App Engine
This is Rietveld 408576698