| 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_NATIVE_CERTIFICATES_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_NATIVE_CERTIFICATES_HANDLER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" |
| 10 |
| 11 namespace settings { |
| 12 |
| 13 class NativeCertificatesHandler : public SettingsPageUIHandler { |
| 14 public: |
| 15 NativeCertificatesHandler(); |
| 16 ~NativeCertificatesHandler() override; |
| 17 |
| 18 // SettingsPageUIHandler implementation. |
| 19 void RegisterMessages() override; |
| 20 |
| 21 // Callback for the "showManageSSLCertificates" message. This will invoke |
| 22 // an appropriate certificate management action based on the platform. |
| 23 void HandleShowManageSSLCertificates(const base::ListValue* args); |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(NativeCertificatesHandler); |
| 27 }; |
| 28 |
| 29 } // namespace settings |
| 30 |
| 31 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_NATIVE_CERTIFICATES_HANDLER_H_ |
| OLD | NEW |