| 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/prefs/public/pref_member.h" | 8 #include "base/prefs/pref_member.h" |
| 9 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 9 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 10 #include "chrome/browser/ui/webui/options/options_ui.h" | 10 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 11 | 11 |
| 12 namespace options { | 12 namespace options { |
| 13 | 13 |
| 14 // Clear browser data handler page UI handler. | 14 // Clear browser data handler page UI handler. |
| 15 class ClearBrowserDataHandler : public OptionsPageUIHandler, | 15 class ClearBrowserDataHandler : public OptionsPageUIHandler, |
| 16 public BrowsingDataRemover::Observer { | 16 public BrowsingDataRemover::Observer { |
| 17 public: | 17 public: |
| 18 ClearBrowserDataHandler(); | 18 ClearBrowserDataHandler(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 // Keeps track of whether deleting browsing history and downloads is allowed. | 53 // Keeps track of whether deleting browsing history and downloads is allowed. |
| 54 BooleanPrefMember allow_deleting_browser_history_; | 54 BooleanPrefMember allow_deleting_browser_history_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler); | 56 DISALLOW_COPY_AND_ASSIGN(ClearBrowserDataHandler); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace options | 59 } // namespace options |
| 60 | 60 |
| 61 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ | 61 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CLEAR_BROWSER_DATA_HANDLER_H_ |
| OLD | NEW |