| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 virtual base::FilePath GetPath() OVERRIDE { return base::FilePath(); } | 135 virtual base::FilePath GetPath() OVERRIDE { return base::FilePath(); } |
| 136 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE { | 136 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE { |
| 137 return NULL; | 137 return NULL; |
| 138 } | 138 } |
| 139 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE { | 139 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE { |
| 140 return NULL; | 140 return NULL; |
| 141 } | 141 } |
| 142 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE { | 142 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE { |
| 143 return NULL; | 143 return NULL; |
| 144 } | 144 } |
| 145 virtual appcache::AppCacheService* GetAppCacheService() OVERRIDE { | 145 virtual content::AppCacheService* GetAppCacheService() OVERRIDE { |
| 146 return NULL; | 146 return NULL; |
| 147 } | 147 } |
| 148 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE { | 148 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE { |
| 149 return NULL; | 149 return NULL; |
| 150 } | 150 } |
| 151 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { | 151 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { |
| 152 return NULL; | 152 return NULL; |
| 153 } | 153 } |
| 154 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { | 154 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { |
| 155 return NULL; | 155 return NULL; |
| (...skipping 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1780 EXPECT_EQ(1u, tester.clear_count()); | 1780 EXPECT_EQ(1u, tester.clear_count()); |
| 1781 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); | 1781 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); |
| 1782 } | 1782 } |
| 1783 | 1783 |
| 1784 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { | 1784 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { |
| 1785 BlockUntilBrowsingDataRemoved( | 1785 BlockUntilBrowsingDataRemoved( |
| 1786 BrowsingDataRemover::EVERYTHING, | 1786 BrowsingDataRemover::EVERYTHING, |
| 1787 BrowsingDataRemover::REMOVE_HISTORY | | 1787 BrowsingDataRemover::REMOVE_HISTORY | |
| 1788 BrowsingDataRemover::REMOVE_COOKIES, false); | 1788 BrowsingDataRemover::REMOVE_COOKIES, false); |
| 1789 } | 1789 } |
| OLD | NEW |