Disabling NativeViewAcccessibilityWinTest.RetrieveAllAlerts.
[chromium-blink-merge.git] / chrome / browser / certificate_viewer.h
blob9b31e02213886fb9b91487b5b2d2ccba69383374
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"
10 namespace content {
11 class WebContents;
14 namespace net {
15 class X509Certificate;
18 // Opens a certificate viewer under |parent| to display the certificate from
19 // the |CertStore| with id |cert_id|.
20 void ShowCertificateViewerByID(content::WebContents* web_contents,
21 gfx::NativeWindow parent,
22 int cert_id);
24 // Opens a certificate viewer under |parent| to display |cert|.
25 void ShowCertificateViewer(content::WebContents* web_contents,
26 gfx::NativeWindow parent,
27 net::X509Certificate* cert);
29 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_