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

Side by Side Diff: webkit/fileapi/quota_file_util_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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/fileapi/quota_file_util.cc ('k') | webkit/fileapi/sandbox_mount_point_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/fileapi/quota_file_util.h" 5 #include "webkit/fileapi/quota_file_util.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/memory/scoped_callback_factory.h" 8 #include "base/memory/scoped_callback_factory.h"
9 #include "base/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "base/scoped_temp_dir.h" 11 #include "base/scoped_temp_dir.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "webkit/fileapi/file_system_context.h" 13 #include "webkit/fileapi/file_system_context.h"
14 #include "webkit/fileapi/file_system_file_util.h"
15 #include "webkit/fileapi/file_system_operation_context.h" 14 #include "webkit/fileapi/file_system_operation_context.h"
16 #include "webkit/fileapi/file_system_path_manager.h" 15 #include "webkit/fileapi/file_system_path_manager.h"
17 #include "webkit/fileapi/file_system_test_helper.h" 16 #include "webkit/fileapi/file_system_test_helper.h"
18 #include "webkit/fileapi/file_system_types.h" 17 #include "webkit/fileapi/file_system_types.h"
19 #include "webkit/fileapi/file_system_usage_cache.h" 18 #include "webkit/fileapi/file_system_usage_cache.h"
20 #include "webkit/fileapi/quota_file_util.h" 19 #include "webkit/fileapi/quota_file_util.h"
21 20
22 namespace fileapi { 21 namespace fileapi {
23 22
24 class QuotaFileUtilTest : public testing::Test { 23 class QuotaFileUtilTest : public testing::Test {
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 ASSERT_EQ(base::PLATFORM_FILE_OK, 520 ASSERT_EQ(base::PLATFORM_FILE_OK,
522 quota_file_util()->Delete(context.get(), 521 quota_file_util()->Delete(context.get(),
523 Path(dir), 522 Path(dir),
524 true)); 523 true));
525 ASSERT_EQ(0, quota_test_helper().GetCachedOriginUsage()); 524 ASSERT_EQ(0, quota_test_helper().GetCachedOriginUsage());
526 ASSERT_EQ(quota_test_helper().ComputeCurrentOriginUsage(), 525 ASSERT_EQ(quota_test_helper().ComputeCurrentOriginUsage(),
527 quota_test_helper().GetCachedOriginUsage()); 526 quota_test_helper().GetCachedOriginUsage());
528 } 527 }
529 528
530 } // namespace fileapi 529 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/quota_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