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 <vector> | 9 #include <vector> |
9 | 10 |
10 #include "base/bind.h" | 11 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
12 #include "base/file_util.h" | 13 #include "base/file_util.h" |
13 #include "base/files/file_path.h" | 14 #include "base/files/file_path.h" |
14 #include "base/guid.h" | 15 #include "base/guid.h" |
15 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
16 #include "base/prefs/testing_pref_service.h" | 17 #include "base/prefs/testing_pref_service.h" |
17 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
(...skipping 1813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1831 EXPECT_EQ(1u, tester.clear_count()); | 1832 EXPECT_EQ(1u, tester.clear_count()); |
1832 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); | 1833 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); |
1833 } | 1834 } |
1834 | 1835 |
1835 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { | 1836 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { |
1836 BlockUntilBrowsingDataRemoved( | 1837 BlockUntilBrowsingDataRemoved( |
1837 BrowsingDataRemover::EVERYTHING, | 1838 BrowsingDataRemover::EVERYTHING, |
1838 BrowsingDataRemover::REMOVE_HISTORY | | 1839 BrowsingDataRemover::REMOVE_HISTORY | |
1839 BrowsingDataRemover::REMOVE_COOKIES, false); | 1840 BrowsingDataRemover::REMOVE_COOKIES, false); |
1840 } | 1841 } |
OLD | NEW |