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

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: fix test 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
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..d7c914d0b07b9ff49a94d087e533fcd583d6c5c8 100644
--- a/chrome/browser/ui/certificate_dialogs.h
+++ b/chrome/browser/ui/certificate_dialogs.h
@@ -18,8 +18,12 @@ void ShowCertSelectFileDialog(ui::SelectFileDialog* select_file_dialog,
gfx::NativeWindow parent,
void* params);
-void ShowCertExportDialog(content::WebContents* web_contents,
- gfx::NativeWindow parent,
- net::X509Certificate::OSCertHandle cert);
+// Show a dialog to save the first certificate or the whole chain encompassed by
msw 2014/07/11 22:42:45 nit: I think omitting "the first certificate or" w
mattm 2014/07/11 22:49:50 The dialog lets the user choose between saving eit
msw 2014/07/11 23:02:02 Acknowledged, sorry for my confusion.
+// the iterators.
+void ShowCertExportDialog(
+ 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_

Powered by Google App Engine
This is Rietveld 408576698