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

Unified Diff: webkit/fileapi/file_system_file_util_unittest.cc

Issue 7608011: Simplify directory path accounting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows build problem. Created 9 years, 4 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/fileapi/file_system_file_util_unittest.cc
diff --git a/webkit/fileapi/file_system_file_util_unittest.cc b/webkit/fileapi/file_system_file_util_unittest.cc
index afa742bfb9305a82f86cd3a02f074d0adc360b9f..5e7d940282f4d9983b74d34c7c1ebe06f9ad2524 100644
--- a/webkit/fileapi/file_system_file_util_unittest.cc
+++ b/webkit/fileapi/file_system_file_util_unittest.cc
@@ -64,6 +64,7 @@ class FileSystemFileUtilTest : public testing::Test {
FileSystemOperationContext* NewContext(FileSystemTestOriginHelper* helper) {
FileSystemOperationContext* context = helper->NewOperationContext();
+ context->set_allowed_bytes_growth(1024 * 1024); // For paths.
Dai Mikurube (NOT FULLTIME) 2011/08/12 05:17:54 Sorry, I don't understand the reason why this is r
ericu 2011/08/15 23:47:10 Added a better comment.
return context;
}
@@ -117,6 +118,7 @@ class FileSystemFileUtilTest : public testing::Test {
copy_context->set_dest_origin_url(dest_helper.origin());
copy_context->set_src_type(src_helper.type());
copy_context->set_dest_type(dest_helper.type());
+ copy_context->set_allowed_bytes_growth(1024 * 1024); // For paths.
if (copy)
ASSERT_EQ(base::PLATFORM_FILE_OK,

Powered by Google App Engine
This is Rietveld 408576698