| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 return nullptr; | 144 return nullptr; |
| 145 } | 145 } |
| 146 storage::DatabaseTracker* GetDatabaseTracker() override { return nullptr; } | 146 storage::DatabaseTracker* GetDatabaseTracker() override { return nullptr; } |
| 147 DOMStorageContext* GetDOMStorageContext() override { return nullptr; } | 147 DOMStorageContext* GetDOMStorageContext() override { return nullptr; } |
| 148 IndexedDBContext* GetIndexedDBContext() override { return nullptr; } | 148 IndexedDBContext* GetIndexedDBContext() override { return nullptr; } |
| 149 ServiceWorkerContext* GetServiceWorkerContext() override { return nullptr; } | 149 ServiceWorkerContext* GetServiceWorkerContext() override { return nullptr; } |
| 150 CacheStorageContext* GetCacheStorageContext() override { return nullptr; } | 150 CacheStorageContext* GetCacheStorageContext() override { return nullptr; } |
| 151 PlatformNotificationContext* GetPlatformNotificationContext() override { | 151 PlatformNotificationContext* GetPlatformNotificationContext() override { |
| 152 return nullptr; | 152 return nullptr; |
| 153 } | 153 } |
| 154 #if !defined(OS_ANDROID) |
| 154 HostZoomMap* GetHostZoomMap() override { return nullptr; } | 155 HostZoomMap* GetHostZoomMap() override { return nullptr; } |
| 155 HostZoomLevelContext* GetHostZoomLevelContext() override { return nullptr; } | 156 HostZoomLevelContext* GetHostZoomLevelContext() override { return nullptr; } |
| 156 ZoomLevelDelegate* GetZoomLevelDelegate() override { return nullptr; } | 157 ZoomLevelDelegate* GetZoomLevelDelegate() override { return nullptr; } |
| 158 #endif // !defined(OS_ANDROID) |
| 157 | 159 |
| 158 void ClearDataForOrigin(uint32_t remove_mask, | 160 void ClearDataForOrigin(uint32_t remove_mask, |
| 159 uint32_t quota_storage_remove_mask, | 161 uint32_t quota_storage_remove_mask, |
| 160 const GURL& storage_origin, | 162 const GURL& storage_origin, |
| 161 net::URLRequestContextGetter* rq_context, | 163 net::URLRequestContextGetter* rq_context, |
| 162 const base::Closure& callback) override { | 164 const base::Closure& callback) override { |
| 163 BrowserThread::PostTask( | 165 BrowserThread::PostTask( |
| 164 BrowserThread::UI, FROM_HERE, | 166 BrowserThread::UI, FROM_HERE, |
| 165 base::BindOnce(&TestStoragePartition::AsyncRunCallback, | 167 base::BindOnce(&TestStoragePartition::AsyncRunCallback, |
| 166 base::Unretained(this), callback)); | 168 base::Unretained(this), callback)); |
| (...skipping 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1648 | 1650 |
| 1649 // Add one more deletion and wait for it. | 1651 // Add one more deletion and wait for it. |
| 1650 BlockUntilBrowsingDataRemoved( | 1652 BlockUntilBrowsingDataRemoved( |
| 1651 base::Time(), base::Time::Max(), BrowsingDataRemover::DATA_TYPE_COOKIES, | 1653 base::Time(), base::Time::Max(), BrowsingDataRemover::DATA_TYPE_COOKIES, |
| 1652 BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB); | 1654 BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB); |
| 1653 | 1655 |
| 1654 EXPECT_FALSE(remover->is_removing()); | 1656 EXPECT_FALSE(remover->is_removing()); |
| 1655 } | 1657 } |
| 1656 | 1658 |
| 1657 } // namespace content | 1659 } // namespace content |
| OLD | NEW |