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

Unified Diff: chrome/browser/ui/cocoa/certificate_viewer_mac.mm

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 8 years, 6 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/cocoa/certificate_viewer_mac.mm
===================================================================
--- chrome/browser/ui/cocoa/certificate_viewer_mac.mm (revision 142088)
+++ chrome/browser/ui/cocoa/certificate_viewer_mac.mm (working copy)
@@ -14,7 +14,8 @@
#include "net/base/x509_certificate.h"
#include "net/base/x509_util_mac.h"
-void ShowCertificateViewer(gfx::NativeWindow parent,
+void ShowCertificateViewer(content::WebContents* web_contents,
+ gfx::NativeWindow parent,
net::X509Certificate* cert) {
base::mac::ScopedCFTypeRef<CFArrayRef> cert_chain(
cert->CreateOSCertChainForCert());
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/page_info_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698