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

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: '' Created 9 years 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) 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_operation_context.h" 14 #include "webkit/fileapi/file_system_operation_context.h"
15 #include "webkit/fileapi/file_system_path_manager.h"
16 #include "webkit/fileapi/file_system_test_helper.h" 15 #include "webkit/fileapi/file_system_test_helper.h"
17 #include "webkit/fileapi/file_system_types.h" 16 #include "webkit/fileapi/file_system_types.h"
18 #include "webkit/fileapi/file_system_usage_cache.h" 17 #include "webkit/fileapi/file_system_usage_cache.h"
19 #include "webkit/fileapi/quota_file_util.h" 18 #include "webkit/fileapi/quota_file_util.h"
20 19
21 namespace fileapi { 20 namespace fileapi {
22 21
23 class QuotaFileUtilTest : public testing::Test { 22 class QuotaFileUtilTest : public testing::Test {
24 public: 23 public:
25 QuotaFileUtilTest() 24 QuotaFileUtilTest()
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 ASSERT_EQ(base::PLATFORM_FILE_OK, 519 ASSERT_EQ(base::PLATFORM_FILE_OK,
521 quota_file_util()->Delete(context.get(), 520 quota_file_util()->Delete(context.get(),
522 Path(dir), 521 Path(dir),
523 true)); 522 true));
524 ASSERT_EQ(0, quota_test_helper().GetCachedOriginUsage()); 523 ASSERT_EQ(0, quota_test_helper().GetCachedOriginUsage());
525 ASSERT_EQ(quota_test_helper().ComputeCurrentOriginUsage(), 524 ASSERT_EQ(quota_test_helper().ComputeCurrentOriginUsage(),
526 quota_test_helper().GetCachedOriginUsage()); 525 quota_test_helper().GetCachedOriginUsage());
527 } 526 }
528 527
529 } // namespace fileapi 528 } // namespace fileapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698