| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 32 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
| 33 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 33 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 34 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" | 34 #include "chrome/browser/browsing_data/browsing_data_remover_factory.h" |
| 35 #include "chrome/browser/browsing_data/browsing_data_remover_impl.h" | 35 #include "chrome/browser/browsing_data/browsing_data_remover_impl.h" |
| 36 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" | 36 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" |
| 37 #include "chrome/test/base/testing_profile.h" | 37 #include "chrome/test/base/testing_profile.h" |
| 38 #include "content/public/browser/browser_context.h" | 38 #include "content/public/browser/browser_context.h" |
| 39 #include "content/public/browser/cookie_store_factory.h" | 39 #include "content/public/browser/cookie_store_factory.h" |
| 40 #include "content/public/browser/dom_storage_context.h" | 40 #include "content/public/browser/dom_storage_context.h" |
| 41 #include "content/public/browser/local_storage_usage_info.h" | 41 #include "content/public/browser/local_storage_usage_info.h" |
| 42 #include "content/public/browser/permission_type.h" | |
| 43 #include "content/public/browser/storage_partition.h" | 42 #include "content/public/browser/storage_partition.h" |
| 44 #include "content/public/test/mock_download_manager.h" | 43 #include "content/public/test/mock_download_manager.h" |
| 45 #include "content/public/test/test_browser_thread.h" | 44 #include "content/public/test/test_browser_thread.h" |
| 46 #include "content/public/test/test_browser_thread_bundle.h" | 45 #include "content/public/test/test_browser_thread_bundle.h" |
| 47 #include "content/public/test/test_utils.h" | 46 #include "content/public/test/test_utils.h" |
| 48 #include "extensions/features/features.h" | 47 #include "extensions/features/features.h" |
| 49 #include "net/cookies/cookie_store.h" | 48 #include "net/cookies/cookie_store.h" |
| 50 #include "net/http/http_network_session.h" | 49 #include "net/http/http_network_session.h" |
| 51 #include "net/http/http_transaction_factory.h" | 50 #include "net/http/http_transaction_factory.h" |
| 52 #include "net/ssl/channel_id_service.h" | 51 #include "net/ssl/channel_id_service.h" |
| (...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1711 EXPECT_TRUE(remover->is_removing()); | 1710 EXPECT_TRUE(remover->is_removing()); |
| 1712 | 1711 |
| 1713 // Add one more deletion and wait for it. | 1712 // Add one more deletion and wait for it. |
| 1714 BlockUntilBrowsingDataRemoved( | 1713 BlockUntilBrowsingDataRemoved( |
| 1715 base::Time(), base::Time::Max(), | 1714 base::Time(), base::Time::Max(), |
| 1716 BrowsingDataRemover::REMOVE_COOKIES, | 1715 BrowsingDataRemover::REMOVE_COOKIES, |
| 1717 BrowsingDataHelper::UNPROTECTED_WEB); | 1716 BrowsingDataHelper::UNPROTECTED_WEB); |
| 1718 | 1717 |
| 1719 EXPECT_FALSE(remover->is_removing()); | 1718 EXPECT_FALSE(remover->is_removing()); |
| 1720 } | 1719 } |
| OLD | NEW |