| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browsing_data_remover.h" | 5 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
| 13 #include "base/file_util.h" | |
| 14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/files/file_util.h" |
| 15 #include "base/guid.h" | 15 #include "base/guid.h" |
| 16 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
| 17 #include "base/prefs/testing_pref_service.h" | 17 #include "base/prefs/testing_pref_service.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "base/task/cancelable_task_tracker.h" | 19 #include "base/task/cancelable_task_tracker.h" |
| 20 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 20 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 21 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 21 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
| 22 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" | 22 #include "chrome/browser/browsing_data/browsing_data_remover_test_util.h" |
| 23 #include "chrome/browser/chrome_notification_types.h" | 23 #include "chrome/browser/chrome_notification_types.h" |
| 24 #include "chrome/browser/domain_reliability/service_factory.h" | 24 #include "chrome/browser/domain_reliability/service_factory.h" |
| (...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1832 EXPECT_EQ(1u, tester.clear_count()); | 1832 EXPECT_EQ(1u, tester.clear_count()); |
| 1833 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); | 1833 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); |
| 1834 } | 1834 } |
| 1835 | 1835 |
| 1836 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { | 1836 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { |
| 1837 BlockUntilBrowsingDataRemoved( | 1837 BlockUntilBrowsingDataRemoved( |
| 1838 BrowsingDataRemover::EVERYTHING, | 1838 BrowsingDataRemover::EVERYTHING, |
| 1839 BrowsingDataRemover::REMOVE_HISTORY | | 1839 BrowsingDataRemover::REMOVE_HISTORY | |
| 1840 BrowsingDataRemover::REMOVE_COOKIES, false); | 1840 BrowsingDataRemover::REMOVE_COOKIES, false); |
| 1841 } | 1841 } |
| OLD | NEW |