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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 } | 179 } |
180 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { | 180 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { |
181 return NULL; | 181 return NULL; |
182 } | 182 } |
183 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { | 183 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { |
184 return NULL; | 184 return NULL; |
185 } | 185 } |
186 virtual content::IndexedDBContext* GetIndexedDBContext() OVERRIDE { | 186 virtual content::IndexedDBContext* GetIndexedDBContext() OVERRIDE { |
187 return NULL; | 187 return NULL; |
188 } | 188 } |
| 189 virtual content::ServiceWorkerContextWrapper* |
| 190 GetServiceWorkerContext() OVERRIDE { |
| 191 return NULL; |
| 192 } |
189 | 193 |
190 virtual void ClearDataForOrigin( | 194 virtual void ClearDataForOrigin( |
191 uint32 remove_mask, | 195 uint32 remove_mask, |
192 uint32 quota_storage_remove_mask, | 196 uint32 quota_storage_remove_mask, |
193 const GURL& storage_origin, | 197 const GURL& storage_origin, |
194 net::URLRequestContextGetter* rq_context) OVERRIDE {} | 198 net::URLRequestContextGetter* rq_context) OVERRIDE {} |
195 | 199 |
196 virtual void ClearData(uint32 remove_mask, | 200 virtual void ClearData(uint32 remove_mask, |
197 uint32 quota_storage_remove_mask, | 201 uint32 quota_storage_remove_mask, |
198 const GURL& storage_origin, | 202 const GURL& storage_origin, |
(...skipping 1391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _)) | 1594 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _)) |
1591 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall))); | 1595 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall))); |
1592 | 1596 |
1593 BlockUntilBrowsingDataRemoved( | 1597 BlockUntilBrowsingDataRemoved( |
1594 BrowsingDataRemover::EVERYTHING, | 1598 BrowsingDataRemover::EVERYTHING, |
1595 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false); | 1599 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false); |
1596 | 1600 |
1597 chromeos::DBusThreadManager::Shutdown(); | 1601 chromeos::DBusThreadManager::Shutdown(); |
1598 } | 1602 } |
1599 #endif | 1603 #endif |
OLD | NEW |