Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / webui / options / automatic_settings_reset_handler.h
blobecbfee4db0aede8e0debf0f4733928d9631677f7
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOMATIC_SETTINGS_RESET_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOMATIC_SETTINGS_RESET_HANDLER_H_
8 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h"
11 namespace options {
13 // Handler for the banner that displays a settings reset event at the top of the
14 // settings page.
15 class AutomaticSettingsResetHandler : public OptionsPageUIHandler {
16 public:
17 AutomaticSettingsResetHandler();
18 ~AutomaticSettingsResetHandler() override;
20 // OptionsPageUIHandler implementation.
21 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
22 void InitializePage() override;
24 // WebUIMessageHandler implementation.
25 void RegisterMessages() override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(AutomaticSettingsResetHandler);
31 } // namespace options
33 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_AUTOMATIC_SETTINGS_RESET_HANDLER_H_