Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1158)

Unified Diff: chrome/browser/ui/webui/settings/native_certificates_handler.h

Issue 1838273003: MD Settings: Hooking up native certificate manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify ifdefs per feedback Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698