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

Unified Diff: chrome/browser/ui/certificate_dialogs.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: comments Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/certificate_dialogs.cc » ('j') | chrome/browser/ui/certificate_dialogs.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/certificate_dialogs.h
diff --git a/chrome/browser/ui/certificate_dialogs.h b/chrome/browser/ui/certificate_dialogs.h
index 9787ffc769774f118cbce5d66be215f9fe19984e..295f819030f6a5ed1f1f2766263d8749ab735931 100644
--- a/chrome/browser/ui/certificate_dialogs.h
+++ b/chrome/browser/ui/certificate_dialogs.h
@@ -18,8 +18,17 @@ void ShowCertSelectFileDialog(ui::SelectFileDialog* select_file_dialog,
gfx::NativeWindow parent,
void* params);
+// Show a save dialog allowing to save |cert| alone or the cert + its chain.
msw 2014/07/11 17:25:40 nit: consider: "Show a dialog to save |cert|, pote
mattm 2014/07/11 22:21:57 removed
void ShowCertExportDialog(content::WebContents* web_contents,
gfx::NativeWindow parent,
- net::X509Certificate::OSCertHandle cert);
+ const scoped_refptr<net::X509Certificate>& cert);
+
+// Show a save dialog allowing to save the certificate pointed to by
msw 2014/07/11 17:25:40 nit: consider: "Show a dialog to save the chain of
mattm 2014/07/11 22:21:57 done(-ish)
+// |certs_begin| or the entire chain of |certs_begin|..|certs_end|.
+void ShowCertExportDialog(
msw 2014/07/11 17:25:40 Overloading function names is discouraged, can you
mattm 2014/07/11 22:21:57 Done.
+ content::WebContents* web_contents,
+ gfx::NativeWindow parent,
+ net::X509Certificate::OSCertHandles::iterator certs_begin,
+ net::X509Certificate::OSCertHandles::iterator certs_end);
#endif // CHROME_BROWSER_UI_CERTIFICATE_DIALOGS_H_
« no previous file with comments | « no previous file | chrome/browser/ui/certificate_dialogs.cc » ('j') | chrome/browser/ui/certificate_dialogs.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698