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

Unified Diff: webkit/browser/fileapi/sandbox_file_system_test_helper.cc

Issue 15959006: Deprecate FileSystemMountPointProvider::GetFileSystemRootPathOnFileThread (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/sandbox_file_system_test_helper.cc
diff --git a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
index 1dfdc9629c87d3107db0ef604057e88a54be26fc..0e9ba0b87dc9f5ecf10937be43115798df07e707 100644
--- a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
+++ b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
@@ -61,7 +61,7 @@ void SandboxFileSystemTestHelper::TearDown() {
base::MessageLoop::current()->RunUntilIdle();
}
-base::FilePath SandboxFileSystemTestHelper::GetOriginRootPath() const {
+base::FilePath SandboxFileSystemTestHelper::GetOriginRootPath() {
return file_system_context_->sandbox_provider()->
GetBaseDirectoryForOriginAndType(origin_, type_, false);
}
@@ -104,7 +104,7 @@ int64 SandboxFileSystemTestHelper::ComputeCurrentOriginUsage() {
}
int64
-SandboxFileSystemTestHelper::ComputeCurrentDirectoryDatabaseUsage() const {
+SandboxFileSystemTestHelper::ComputeCurrentDirectoryDatabaseUsage() {
return file_util::ComputeDirectorySize(
GetOriginRootPath().AppendASCII("Paths"));
}
@@ -141,8 +141,7 @@ void SandboxFileSystemTestHelper::SetUpFileSystem() {
// Prepare the origin's root directory.
file_system_context_->sandbox_provider()->
- GetFileSystemRootPathOnFileThread(CreateURL(base::FilePath()),
- true /* create */);
+ GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */);
// Initialize the usage cache file.
base::FilePath usage_cache_path = GetUsageCachePath();
« no previous file with comments | « webkit/browser/fileapi/sandbox_file_system_test_helper.h ('k') | webkit/browser/fileapi/sandbox_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698