| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/webui/settings/md_settings_ui.h" |
| 10 |
| 11 namespace base { |
| 12 class ListValue; |
| 13 } |
| 14 |
| 15 namespace settings { |
| 16 |
| 17 class SystemHandler : public SettingsPageUIHandler { |
| 18 public: |
| 19 SystemHandler(); |
| 20 ~SystemHandler() override; |
| 21 |
| 22 // SettingsPageUIHandler: |
| 23 void RegisterMessages() override; |
| 24 |
| 25 private: |
| 26 // Handler for the "changeProxySettings" message. No args. |
| 27 void HandleChangeProxySettings(const base::ListValue* /*args*/); |
| 28 |
| 29 DISALLOW_COPY_AND_ASSIGN(SystemHandler); |
| 30 }; |
| 31 |
| 32 } // namespace settings |
| 33 |
| 34 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ |
| OLD | NEW |