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

Side by Side Diff: chrome/browser/certificate_viewer.h

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove cert_store on ios Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/certificate_viewer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_CERTIFICATE_VIEWER_H_ 5 #ifndef CHROME_BROWSER_CERTIFICATE_VIEWER_H_
6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_
7 7
8 #include "ui/gfx/native_widget_types.h" 8 #include "ui/gfx/native_widget_types.h"
9 9
10 namespace content { 10 namespace content {
11 class WebContents; 11 class WebContents;
12 } 12 }
13 13
14 namespace net { 14 namespace net {
15 class X509Certificate; 15 class X509Certificate;
16 } 16 }
17
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);
23
24 // Opens a certificate viewer under |parent| to display |cert|. 17 // Opens a certificate viewer under |parent| to display |cert|.
25 void ShowCertificateViewer(content::WebContents* web_contents, 18 void ShowCertificateViewer(content::WebContents* web_contents,
26 gfx::NativeWindow parent, 19 gfx::NativeWindow parent,
27 net::X509Certificate* cert); 20 net::X509Certificate* cert);
28 21
29 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 22 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/certificate_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698