| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <list> | 10 #include <list> |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 content::ServiceWorkerContext* GetServiceWorkerContext() override { | 233 content::ServiceWorkerContext* GetServiceWorkerContext() override { |
| 234 return nullptr; | 234 return nullptr; |
| 235 } | 235 } |
| 236 content::CacheStorageContext* GetCacheStorageContext() override { | 236 content::CacheStorageContext* GetCacheStorageContext() override { |
| 237 return nullptr; | 237 return nullptr; |
| 238 } | 238 } |
| 239 content::PlatformNotificationContext* GetPlatformNotificationContext() | 239 content::PlatformNotificationContext* GetPlatformNotificationContext() |
| 240 override { | 240 override { |
| 241 return nullptr; | 241 return nullptr; |
| 242 } | 242 } |
| 243 content::PaymentAppContext* GetPaymentAppContext() override { |
| 244 return nullptr; |
| 245 } |
| 243 content::HostZoomMap* GetHostZoomMap() override { return nullptr; } | 246 content::HostZoomMap* GetHostZoomMap() override { return nullptr; } |
| 244 content::HostZoomLevelContext* GetHostZoomLevelContext() override { | 247 content::HostZoomLevelContext* GetHostZoomLevelContext() override { |
| 245 return nullptr; | 248 return nullptr; |
| 246 } | 249 } |
| 247 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { | 250 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { |
| 248 return nullptr; | 251 return nullptr; |
| 249 } | 252 } |
| 250 | 253 |
| 251 void ClearDataForOrigin(uint32_t remove_mask, | 254 void ClearDataForOrigin(uint32_t remove_mask, |
| 252 uint32_t quota_storage_remove_mask, | 255 uint32_t quota_storage_remove_mask, |
| (...skipping 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3108 // There should be no recently visited bookmarks. | 3111 // There should be no recently visited bookmarks. |
| 3109 EXPECT_THAT(ntp_snippets::GetRecentlyVisitedBookmarks( | 3112 EXPECT_THAT(ntp_snippets::GetRecentlyVisitedBookmarks( |
| 3110 bookmark_model, 2, base::Time::UnixEpoch(), | 3113 bookmark_model, 2, base::Time::UnixEpoch(), |
| 3111 /*consider_visits_from_desktop=*/false), | 3114 /*consider_visits_from_desktop=*/false), |
| 3112 IsEmpty()); | 3115 IsEmpty()); |
| 3113 EXPECT_THAT(ntp_snippets::GetRecentlyVisitedBookmarks( | 3116 EXPECT_THAT(ntp_snippets::GetRecentlyVisitedBookmarks( |
| 3114 bookmark_model, 2, base::Time::UnixEpoch(), | 3117 bookmark_model, 2, base::Time::UnixEpoch(), |
| 3115 /*consider_visits_from_desktop=*/true), | 3118 /*consider_visits_from_desktop=*/true), |
| 3116 IsEmpty()); | 3119 IsEmpty()); |
| 3117 } | 3120 } |
| OLD | NEW |