Index: chrome/browser/ui/webui/certificate_viewer.h |
diff --git a/chrome/browser/ui/webui/certificate_viewer.h b/chrome/browser/ui/webui/certificate_viewer.h |
index 1ebda6a29601b71422dedc984794e4876250133c..427f78a592f5ecf4344fb1d0e589fa6db014c509 100644 |
--- a/chrome/browser/ui/webui/certificate_viewer.h |
+++ b/chrome/browser/ui/webui/certificate_viewer.h |
@@ -11,7 +11,8 @@ |
#include "net/base/x509_certificate.h" |
#include "ui/gfx/native_widget_types.h" |
-// Displays the WebUI certificate viewer dialog for the passed in certificate. |
+// Displays the native or WebUI certificate viewer dialog for the given |
+// certificate. |
void ShowCertificateViewer(gfx::NativeWindow parent, |
net::X509Certificate*); |
@@ -24,6 +25,7 @@ class CertificateViewerDialog : private HtmlDialogUIDelegate { |
// Shows the certificate viewer dialog for the passed in certificate. |
static void ShowDialog(gfx::NativeWindow parent, |
net::X509Certificate* cert); |
+ virtual ~CertificateViewerDialog(); |
private: |
// Construct a certificate viewer for the passed in certificate. A reference |
@@ -64,6 +66,7 @@ class CertificateViewerDialogHandler : public WebUIMessageHandler { |
public: |
CertificateViewerDialogHandler(gfx::NativeWindow parent, |
net::X509Certificate* cert); |
+ virtual ~CertificateViewerDialogHandler(); |
// Overridden from WebUIMessageHandler |
virtual void RegisterMessages(); |