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

Unified Diff: webkit/fileapi/file_system_quota_client_unittest.cc

Issue 7470037: [Refactor] to rename and re-layer the file_util stack layers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased on the svn tree. Created 9 years, 3 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_path_manager.cc ('k') | webkit/fileapi/file_system_quota_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_quota_client_unittest.cc
diff --git a/webkit/fileapi/file_system_quota_client_unittest.cc b/webkit/fileapi/file_system_quota_client_unittest.cc
index 026c377f1e3a17d47d97f5ea5e91173f83d15ca5..6d32938b06492ec056400897fb45e917ef85c635 100644
--- a/webkit/fileapi/file_system_quota_client_unittest.cc
+++ b/webkit/fileapi/file_system_quota_client_unittest.cc
@@ -17,7 +17,7 @@
#include "webkit/fileapi/file_system_types.h"
#include "webkit/fileapi/file_system_usage_cache.h"
#include "webkit/fileapi/file_system_util.h"
-#include "webkit/fileapi/obfuscated_file_system_file_util.h"
+#include "webkit/fileapi/obfuscated_file_util.h"
#include "webkit/fileapi/sandbox_mount_point_provider.h"
#include "webkit/fileapi/quota_file_util.h"
#include "webkit/quota/quota_types.h"
@@ -147,9 +147,8 @@ class FileSystemQuotaClientTest : public testing::Test {
bool CreateFileSystemDirectory(const FilePath& path,
const std::string& origin_url,
quota::StorageType type) {
- FileSystemFileUtil* file_util =
- file_system_context_->path_manager()->GetFileSystemFileUtil(
- QuotaStorageTypeToFileSystemType(type));
+ FileSystemFileUtil* file_util = file_system_context_->path_manager()->
+ GetFileUtil(QuotaStorageTypeToFileSystemType(type));
scoped_ptr<FileSystemOperationContext> context(
CreateFileSystemOperationContext(file_util, path, origin_url, type));
@@ -169,7 +168,7 @@ class FileSystemQuotaClientTest : public testing::Test {
return false;
FileSystemFileUtil* file_util = file_system_context_->path_manager()->
- sandbox_provider()->GetFileSystemFileUtil();
+ sandbox_provider()->GetFileUtil();
scoped_ptr<FileSystemOperationContext> context(
CreateFileSystemOperationContext(file_util, path, origin_url, type));
@@ -223,8 +222,7 @@ class FileSystemQuotaClientTest : public testing::Test {
GURL(files[i].origin_url) == GURL(origin_url)) {
FilePath path = FilePath().AppendASCII(files[i].name);
if (!path.empty()) {
- file_paths_cost +=
- ObfuscatedFileSystemFileUtil::ComputeFilePathCost(path);
+ file_paths_cost += ObfuscatedFileUtil::ComputeFilePathCost(path);
}
}
}
« no previous file with comments | « webkit/fileapi/file_system_path_manager.cc ('k') | webkit/fileapi/file_system_quota_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698