| 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 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 storage::QuotaManager* GetQuotaManager() override { return NULL; } | 144 storage::QuotaManager* GetQuotaManager() override { return NULL; } |
| 145 content::AppCacheService* GetAppCacheService() override { return NULL; } | 145 content::AppCacheService* GetAppCacheService() override { return NULL; } |
| 146 storage::FileSystemContext* GetFileSystemContext() override { return NULL; } | 146 storage::FileSystemContext* GetFileSystemContext() override { return NULL; } |
| 147 storage::DatabaseTracker* GetDatabaseTracker() override { return NULL; } | 147 storage::DatabaseTracker* GetDatabaseTracker() override { return NULL; } |
| 148 content::DOMStorageContext* GetDOMStorageContext() override { return NULL; } | 148 content::DOMStorageContext* GetDOMStorageContext() override { return NULL; } |
| 149 content::IndexedDBContext* GetIndexedDBContext() override { return NULL; } | 149 content::IndexedDBContext* GetIndexedDBContext() override { return NULL; } |
| 150 content::ServiceWorkerContext* GetServiceWorkerContext() override { | 150 content::ServiceWorkerContext* GetServiceWorkerContext() override { |
| 151 return NULL; | 151 return NULL; |
| 152 } | 152 } |
| 153 content::GeofencingManager* GetGeofencingManager() override { return NULL; } | 153 content::GeofencingManager* GetGeofencingManager() override { return NULL; } |
| 154 content::NavigatorConnectContext* GetNavigatorConnectContext() override { |
| 155 return nullptr; |
| 156 } |
| 154 | 157 |
| 155 content::HostZoomMap* GetHostZoomMap() override { return NULL; } | 158 content::HostZoomMap* GetHostZoomMap() override { return NULL; } |
| 156 content::HostZoomLevelContext* GetHostZoomLevelContext() override { | 159 content::HostZoomLevelContext* GetHostZoomLevelContext() override { |
| 157 return NULL; | 160 return NULL; |
| 158 } | 161 } |
| 159 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { return NULL; } | 162 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { return NULL; } |
| 160 | 163 |
| 161 void ClearDataForOrigin(uint32 remove_mask, | 164 void ClearDataForOrigin(uint32 remove_mask, |
| 162 uint32 quota_storage_remove_mask, | 165 uint32 quota_storage_remove_mask, |
| 163 const GURL& storage_origin, | 166 const GURL& storage_origin, |
| (...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1820 EXPECT_EQ(1u, tester.clear_count()); | 1823 EXPECT_EQ(1u, tester.clear_count()); |
| 1821 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); | 1824 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); |
| 1822 } | 1825 } |
| 1823 | 1826 |
| 1824 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { | 1827 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { |
| 1825 BlockUntilBrowsingDataRemoved( | 1828 BlockUntilBrowsingDataRemoved( |
| 1826 BrowsingDataRemover::EVERYTHING, | 1829 BrowsingDataRemover::EVERYTHING, |
| 1827 BrowsingDataRemover::REMOVE_HISTORY | | 1830 BrowsingDataRemover::REMOVE_HISTORY | |
| 1828 BrowsingDataRemover::REMOVE_COOKIES, false); | 1831 BrowsingDataRemover::REMOVE_COOKIES, false); |
| 1829 } | 1832 } |
| OLD | NEW |