OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
7 | 7 |
| 8 #include <memory> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
10 #include "base/synchronization/waitable_event_watcher.h" | 12 #include "base/synchronization/waitable_event_watcher.h" |
11 #include "base/task/cancelable_task_tracker.h" | 13 #include "base/task/cancelable_task_tracker.h" |
12 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 14 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
13 #include "chrome/browser/browsing_data/browsing_data_remover_delegate.h" | 15 #include "chrome/browser/browsing_data/browsing_data_remover_delegate.h" |
14 #include "chrome/common/features.h" | 16 #include "chrome/common/features.h" |
15 #include "components/browsing_data/core/browsing_data_utils.h" | 17 #include "components/browsing_data/core/browsing_data_utils.h" |
16 #include "components/offline_pages/core/offline_page_model.h" | 18 #include "components/offline_pages/core/offline_page_model.h" |
17 #include "components/search_engines/template_url_service.h" | 19 #include "components/search_engines/template_url_service.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // not initialised, so the registry must be mocked out. | 142 // not initialised, so the registry must be mocked out. |
141 std::unique_ptr<WebappRegistry> webapp_registry_; | 143 std::unique_ptr<WebappRegistry> webapp_registry_; |
142 #endif | 144 #endif |
143 | 145 |
144 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; | 146 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; |
145 | 147 |
146 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); | 148 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); |
147 }; | 149 }; |
148 | 150 |
149 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 151 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
OLD | NEW |