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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 } | 143 } |
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 | 154 |
154 void ClearDataForOrigin(uint32 remove_mask, | 155 void ClearDataForOrigin(uint32 remove_mask, |
155 uint32 quota_storage_remove_mask, | 156 uint32 quota_storage_remove_mask, |
156 const GURL& storage_origin, | 157 const GURL& storage_origin, |
157 net::URLRequestContextGetter* rq_context, | 158 net::URLRequestContextGetter* rq_context, |
158 const base::Closure& callback) override { | 159 const base::Closure& callback) override { |
159 BrowserThread::PostTask(BrowserThread::UI, | 160 BrowserThread::PostTask(BrowserThread::UI, |
160 FROM_HERE, | 161 FROM_HERE, |
161 base::Bind(&TestStoragePartition::AsyncRunCallback, | 162 base::Bind(&TestStoragePartition::AsyncRunCallback, |
162 base::Unretained(this), | 163 base::Unretained(this), |
(...skipping 1651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1814 EXPECT_EQ(1u, tester.clear_count()); | 1815 EXPECT_EQ(1u, tester.clear_count()); |
1815 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); | 1816 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); |
1816 } | 1817 } |
1817 | 1818 |
1818 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { | 1819 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { |
1819 BlockUntilBrowsingDataRemoved( | 1820 BlockUntilBrowsingDataRemoved( |
1820 BrowsingDataRemover::EVERYTHING, | 1821 BrowsingDataRemover::EVERYTHING, |
1821 BrowsingDataRemover::REMOVE_HISTORY | | 1822 BrowsingDataRemover::REMOVE_HISTORY | |
1822 BrowsingDataRemover::REMOVE_COOKIES, false); | 1823 BrowsingDataRemover::REMOVE_COOKIES, false); |
1823 } | 1824 } |
OLD | NEW |