| 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_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" | 9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 // SettingsPageUIHandler: | 29 // SettingsPageUIHandler: |
| 30 void RegisterMessages() override; | 30 void RegisterMessages() override; |
| 31 void OnJavascriptAllowed() override {} | 31 void OnJavascriptAllowed() override {} |
| 32 void OnJavascriptDisallowed() override {} | 32 void OnJavascriptDisallowed() override {} |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 // Handler for the "showProxySettings" message. No args. | 35 // Handler for the "showProxySettings" message. No args. |
| 36 void HandleShowProxySettings(const base::ListValue* /*args*/); | 36 void HandleShowProxySettings(const base::ListValue* /*args*/); |
| 37 | 37 |
| 38 // TODO(cfroussios) |
| 39 void HandleUpdateProtectionSetting(const base::ListValue* args); |
| 40 |
| 38 DISALLOW_COPY_AND_ASSIGN(SystemHandler); | 41 DISALLOW_COPY_AND_ASSIGN(SystemHandler); |
| 39 }; | 42 }; |
| 40 | 43 |
| 41 } // namespace settings | 44 } // namespace settings |
| 42 | 45 |
| 43 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ | 46 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_SYSTEM_HANDLER_H_ |
| OLD | NEW |