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

Unified Diff: chrome/browser/ui/browser.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 57867aa5851266b0b870114e071f0ebdc1271856..a8a1b7fdee817a0082a2115c7c5bb69493b74fab 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1282,11 +1282,12 @@ content::SecurityStyle Browser::GetSecurityStyle(
}
void Browser::ShowCertificateViewerInDevTools(
- content::WebContents* web_contents, int cert_id) {
+ content::WebContents* web_contents,
+ scoped_refptr<net::X509Certificate> certificate) {
DevToolsWindow* devtools_window =
DevToolsWindow::GetInstanceForInspectedWebContents(web_contents);
if (devtools_window)
- devtools_window->ShowCertificateViewer(cert_id);
+ devtools_window->ShowCertificateViewer(certificate);
}
std::unique_ptr<content::BluetoothChooser> Browser::RunBluetoothChooser(
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698