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

Unified Diff: webkit/fileapi/obfuscated_file_system_file_util_unittest.cc

Issue 7174002: Change {Obfuscated|Local}FileSystemFileUtil non-Singleton to take an underlying *FileUtil. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased. Created 9 years, 5 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/obfuscated_file_system_file_util.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/obfuscated_file_system_file_util_unittest.cc
diff --git a/webkit/fileapi/obfuscated_file_system_file_util_unittest.cc b/webkit/fileapi/obfuscated_file_system_file_util_unittest.cc
index 4d5b1f5e630cdd8d955dcb4ca69ece06c1871027..f8653938862f025700739b63aa05358cc2923b7c 100644
--- a/webkit/fileapi/obfuscated_file_system_file_util_unittest.cc
+++ b/webkit/fileapi/obfuscated_file_system_file_util_unittest.cc
@@ -133,7 +133,8 @@ class ObfuscatedFileSystemFileUtilTest : public testing::Test {
ASSERT_TRUE(data_dir_.CreateUniqueTempDir());
obfuscated_file_system_file_util_ =
- new ObfuscatedFileSystemFileUtil(data_dir_.path());
+ new ObfuscatedFileSystemFileUtil(data_dir_.path(),
+ FileSystemFileUtil::GetInstance());
test_helper_.SetUp(data_dir_.path(),
false, // incognito
false, // unlimited quota
@@ -143,7 +144,6 @@ class ObfuscatedFileSystemFileUtilTest : public testing::Test {
FileSystemOperationContext* NewContext() {
FileSystemOperationContext* context = test_helper_.NewOperationContext();
- context->set_allowed_bytes_growth(1024 * 1024);
return context;
}
« no previous file with comments | « webkit/fileapi/obfuscated_file_system_file_util.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698