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

Side by Side Diff: webkit/browser/fileapi/local_file_system_operation_unittest.cc

Issue 16434010: Use a direct include of strings headers in webkit/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/browser/fileapi/local_file_system_operation.h" 5 #include "webkit/browser/fileapi/local_file_system_operation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/scoped_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "webkit/browser/fileapi/async_file_test_helper.h" 17 #include "webkit/browser/fileapi/async_file_test_helper.h"
18 #include "webkit/browser/fileapi/file_system_context.h" 18 #include "webkit/browser/fileapi/file_system_context.h"
19 #include "webkit/browser/fileapi/file_system_file_util.h" 19 #include "webkit/browser/fileapi/file_system_file_util.h"
20 #include "webkit/browser/fileapi/file_system_operation_context.h" 20 #include "webkit/browser/fileapi/file_system_operation_context.h"
21 #include "webkit/browser/fileapi/file_system_operation_runner.h" 21 #include "webkit/browser/fileapi/file_system_operation_runner.h"
22 #include "webkit/browser/fileapi/mock_file_change_observer.h" 22 #include "webkit/browser/fileapi/mock_file_change_observer.h"
23 #include "webkit/browser/fileapi/sandbox_file_system_test_helper.h" 23 #include "webkit/browser/fileapi/sandbox_file_system_test_helper.h"
24 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" 24 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h"
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1182 base::MessageLoop::current()->RunUntilIdle(); 1182 base::MessageLoop::current()->RunUntilIdle();
1183 1183
1184 expected_usage += grandchild_file_size + grandchild_path_cost; 1184 expected_usage += grandchild_file_size + grandchild_path_cost;
1185 usage = GetUsage(); 1185 usage = GetUsage();
1186 EXPECT_EQ(2 * child_file_size + 3 * grandchild_file_size, 1186 EXPECT_EQ(2 * child_file_size + 3 * grandchild_file_size,
1187 GetDataSizeOnDisk()); 1187 GetDataSizeOnDisk());
1188 EXPECT_EQ(expected_usage, usage); 1188 EXPECT_EQ(expected_usage, usage);
1189 } 1189 }
1190 1190
1191 } // namespace fileapi 1191 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/isolated_context.cc ('k') | webkit/browser/fileapi/obfuscated_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698