OLD | NEW |
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 "chrome/browser/browsing_data_remover.h" | 5 #include "chrome/browser/browsing_data_remover.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
11 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" | 11 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" |
12 #include "chrome/browser/history/history.h" | 12 #include "chrome/browser/history/history.h" |
| 13 #include "chrome/test/base/testing_browser_process_test.h" |
13 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" |
14 #include "chrome/test/testing_browser_process_test.h" | |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "webkit/fileapi/file_system_context.h" | 16 #include "webkit/fileapi/file_system_context.h" |
17 #include "webkit/fileapi/file_system_file_util.h" | 17 #include "webkit/fileapi/file_system_file_util.h" |
18 #include "webkit/fileapi/file_system_operation_context.h" | 18 #include "webkit/fileapi/file_system_operation_context.h" |
19 #include "webkit/fileapi/file_system_path_manager.h" | 19 #include "webkit/fileapi/file_system_path_manager.h" |
20 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 20 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
21 #include "webkit/quota/mock_quota_manager.h" | 21 #include "webkit/quota/mock_quota_manager.h" |
22 #include "webkit/quota/quota_manager.h" | 22 #include "webkit/quota/quota_manager.h" |
23 #include "webkit/quota/quota_types.h" | 23 #include "webkit/quota/quota_types.h" |
24 | 24 |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 quota::kStorageTypeTemporary)); | 405 quota::kStorageTypeTemporary)); |
406 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin1, | 406 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin1, |
407 quota::kStorageTypePersistent)); | 407 quota::kStorageTypePersistent)); |
408 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin2, | 408 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin2, |
409 quota::kStorageTypePersistent)); | 409 quota::kStorageTypePersistent)); |
410 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin3, | 410 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin3, |
411 quota::kStorageTypePersistent)); | 411 quota::kStorageTypePersistent)); |
412 } | 412 } |
413 | 413 |
414 } // namespace | 414 } // namespace |
OLD | NEW |