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 | 154 |
Charlie Reis
2014/11/04 23:43:16
nit: These are all part of the same block of Gette
wjmaclean
2014/11/05 21:55:42
Done.
| |
155 content::HostZoomMap* GetHostZoomMap() override { | |
156 return NULL; | |
157 } | |
158 | |
159 content::HostZoomLevelContext* GetHostZoomLevelContext() override { | |
160 return NULL; | |
161 } | |
162 | |
163 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { | |
164 return NULL; | |
165 } | |
166 | |
155 void ClearDataForOrigin(uint32 remove_mask, | 167 void ClearDataForOrigin(uint32 remove_mask, |
156 uint32 quota_storage_remove_mask, | 168 uint32 quota_storage_remove_mask, |
157 const GURL& storage_origin, | 169 const GURL& storage_origin, |
158 net::URLRequestContextGetter* rq_context, | 170 net::URLRequestContextGetter* rq_context, |
159 const base::Closure& callback) override { | 171 const base::Closure& callback) override { |
160 BrowserThread::PostTask(BrowserThread::UI, | 172 BrowserThread::PostTask(BrowserThread::UI, |
161 FROM_HERE, | 173 FROM_HERE, |
162 base::Bind(&TestStoragePartition::AsyncRunCallback, | 174 base::Bind(&TestStoragePartition::AsyncRunCallback, |
163 base::Unretained(this), | 175 base::Unretained(this), |
164 callback)); | 176 callback)); |
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1814 EXPECT_EQ(1u, tester.clear_count()); | 1826 EXPECT_EQ(1u, tester.clear_count()); |
1815 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); | 1827 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); |
1816 } | 1828 } |
1817 | 1829 |
1818 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { | 1830 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { |
1819 BlockUntilBrowsingDataRemoved( | 1831 BlockUntilBrowsingDataRemoved( |
1820 BrowsingDataRemover::EVERYTHING, | 1832 BrowsingDataRemover::EVERYTHING, |
1821 BrowsingDataRemover::REMOVE_HISTORY | | 1833 BrowsingDataRemover::REMOVE_HISTORY | |
1822 BrowsingDataRemover::REMOVE_COOKIES, false); | 1834 BrowsingDataRemover::REMOVE_COOKIES, false); |
1823 } | 1835 } |
OLD | NEW |