| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/scoped_observer.h" | 13 #include "base/scoped_observer.h" |
| 14 #include "chrome/browser/browsing_data/browsing_data_remover.h" | |
| 15 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" | 15 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" |
| 17 #include "components/browser_sync/profile_sync_service.h" | 16 #include "components/browser_sync/profile_sync_service.h" |
| 18 #include "components/browsing_data/core/counters/browsing_data_counter.h" | 17 #include "components/browsing_data/core/counters/browsing_data_counter.h" |
| 19 | 18 |
| 20 namespace base { | 19 namespace base { |
| 21 class ListValue; | 20 class ListValue; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace content { | 23 namespace content { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 104 |
| 106 // A weak pointer factory for asynchronous calls referencing this class. | 105 // A weak pointer factory for asynchronous calls referencing this class. |
| 107 base::WeakPtrFactory<ClearBrowsingDataHandler> weak_ptr_factory_; | 106 base::WeakPtrFactory<ClearBrowsingDataHandler> weak_ptr_factory_; |
| 108 | 107 |
| 109 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataHandler); | 108 DISALLOW_COPY_AND_ASSIGN(ClearBrowsingDataHandler); |
| 110 }; | 109 }; |
| 111 | 110 |
| 112 } // namespace settings | 111 } // namespace settings |
| 113 | 112 |
| 114 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER
_H_ | 113 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SETTINGS_CLEAR_BROWSING_DATA_HANDLER
_H_ |
| OLD | NEW |