OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ | 5 #ifndef CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ |
6 #define CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ | 6 #define CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/certificate_viewer.h" | 9 #include "chrome/browser/certificate_viewer.h" |
10 #include "gfx/native_widget_types.h" | 10 #include "gfx/native_widget_types.h" |
| 11 #include "net/base/x509_certificate.h" |
11 | 12 |
12 typedef struct CERTCertificateStr CERTCertificate; | 13 void ShowCertificateViewer(gfx::NativeWindow parent, |
13 | 14 net::X509Certificate::OSCertHandle); |
14 void ShowCertificateViewer(gfx::NativeWindow parent, CERTCertificate* cert); | |
15 | 15 |
16 #endif // CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ | 16 #endif // CHROME_BROWSER_GTK_CERTIFICATE_VIEWER_H_ |
OLD | NEW |