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

Side by Side Diff: webkit/fileapi/quota_file_util_unittest.cc

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 11 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/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "webkit/fileapi/file_system_context.h" 12 #include "webkit/fileapi/file_system_context.h"
13 #include "webkit/fileapi/file_system_operation_context.h" 13 #include "webkit/fileapi/file_system_operation_context.h"
14 #include "webkit/fileapi/file_system_path_manager.h"
15 #include "webkit/fileapi/file_system_test_helper.h" 14 #include "webkit/fileapi/file_system_test_helper.h"
16 #include "webkit/fileapi/file_system_types.h" 15 #include "webkit/fileapi/file_system_types.h"
17 #include "webkit/fileapi/file_system_usage_cache.h" 16 #include "webkit/fileapi/file_system_usage_cache.h"
18 #include "webkit/fileapi/quota_file_util.h" 17 #include "webkit/fileapi/quota_file_util.h"
19 18
20 namespace fileapi { 19 namespace fileapi {
21 20
22 class QuotaFileUtilTest : public testing::Test { 21 class QuotaFileUtilTest : public testing::Test {
23 public: 22 public:
24 QuotaFileUtilTest() {} 23 QuotaFileUtilTest() {}
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 ASSERT_EQ(base::PLATFORM_FILE_OK, 515 ASSERT_EQ(base::PLATFORM_FILE_OK,
517 quota_file_util()->Delete(context.get(), 516 quota_file_util()->Delete(context.get(),
518 Path(dir), 517 Path(dir),
519 true)); 518 true));
520 ASSERT_EQ(0, quota_test_helper().GetCachedOriginUsage()); 519 ASSERT_EQ(0, quota_test_helper().GetCachedOriginUsage());
521 ASSERT_EQ(quota_test_helper().ComputeCurrentOriginUsage(), 520 ASSERT_EQ(quota_test_helper().ComputeCurrentOriginUsage(),
522 quota_test_helper().GetCachedOriginUsage()); 521 quota_test_helper().GetCachedOriginUsage());
523 } 522 }
524 523
525 } // namespace fileapi 524 } // 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