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

Side by Side Diff: chrome/browser/ui/webui/certificate_viewer_webui.h

Issue 376753002: Fix webui cert viewer showing wrong cert chain on NSS and no chain on OpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-do comment change Created 6 years, 4 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 | Annotate | Revision Log
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_UI_WEBUI_CERTIFICATE_VIEWER_WEBUI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_WEBUI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_WEBUI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_WEBUI_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Helper function to get the certificate index from |args|. Returns -1 if 126 // Helper function to get the certificate index from |args|. Returns -1 if
127 // the index is out of range. 127 // the index is out of range.
128 int GetCertificateIndex(const base::ListValue* args) const; 128 int GetCertificateIndex(const base::ListValue* args) const;
129 129
130 // The certificate being viewed. 130 // The certificate being viewed.
131 scoped_refptr<net::X509Certificate> cert_; 131 scoped_refptr<net::X509Certificate> cert_;
132 132
133 // The dialog. 133 // The dialog.
134 CertificateViewerModalDialog* dialog_; 134 CertificateViewerModalDialog* dialog_;
135 135
136 // The certificate chain. 136 // The certificate chain. Does not take references, so only valid as long as
137 // |cert_| is.
137 net::X509Certificate::OSCertHandles cert_chain_; 138 net::X509Certificate::OSCertHandles cert_chain_;
138 139
139 DISALLOW_COPY_AND_ASSIGN(CertificateViewerDialogHandler); 140 DISALLOW_COPY_AND_ASSIGN(CertificateViewerDialogHandler);
140 }; 141 };
141 142
142 #endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_WEBUI_H_ 143 #endif // CHROME_BROWSER_UI_WEBUI_CERTIFICATE_VIEWER_WEBUI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/certificate_dialogs.cc ('k') | chrome/browser/ui/webui/certificate_viewer_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698