Chromium Code Reviews| Index: chrome/browser/ui/webui/settings/native_certificates_handler.h |
| diff --git a/chrome/browser/ui/webui/settings/native_certificates_handler.h b/chrome/browser/ui/webui/settings/native_certificates_handler.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5d27110ffca87373b95aef93f6ba99744b226274 |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/settings/native_certificates_handler.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_NATIVE_CERTIFICATES_HANDLER_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_SETTINGS_NATIVE_CERTIFICATES_HANDLER_H_ |
| + |
| +#include "base/macros.h" |
| +#include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" |
| + |
| +namespace settings { |
| + |
| +class NativeCertificatesHandler : public SettingsPageUIHandler { |
| + public: |
| + NativeCertificatesHandler(); |
| + ~NativeCertificatesHandler() override; |
| + |
| + // SettingsPageUIHandler implementation. |
| + void RegisterMessages() override; |
| + |
| + // Callback for the "showManageSSLCertificates" message. This will invoke |
| + // an appropriate certificate management action based on the platform. |
| + void HandleShowManageSSLCertificates(const base::ListValue* args); |
| + |
| + private: |
| + |
|
Dan Beam
2016/03/31 00:20:57
remove \n
dpapad
2016/03/31 01:15:03
Done.
|
| + DISALLOW_COPY_AND_ASSIGN(NativeCertificatesHandler); |
| +}; |
| + |
| +} // namespace settings |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_NATIVE_CERTIFICATES_HANDLER_H_ |