1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_CERTIFICATE_VIEWER_H_
6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_
8 #include "ui/gfx/native_widget_types.h"
15 class X509Certificate;
17 // Opens a certificate viewer under |parent| to display |cert|.
18 void ShowCertificateViewer(content::WebContents* web_contents,
19 gfx::NativeWindow parent,
20 net::X509Certificate* cert);
22 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_