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

Unified Diff: chrome/browser/certificate_viewer.h

Issue 10554010: Remove BrowserList::GetLastActive usage from WebUI pages. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: mac build 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/certificate_viewer.h
===================================================================
--- chrome/browser/certificate_viewer.h (revision 142088)
+++ chrome/browser/certificate_viewer.h (working copy)
@@ -8,6 +8,10 @@
#include "ui/gfx/native_widget_types.h"
+namespace content {
+class WebContents;
+}
+
namespace net {
class X509Certificate;
@@ -16,10 +20,13 @@
// Opens a certificate viewer under |parent| to display the certificate from
// the |CertStore| with id |cert_id|.
-void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id);
+void ShowCertificateViewerByID(content::WebContents* web_contents,
+ gfx::NativeWindow parent,
+ int cert_id);
// Opens a certificate viewer under |parent| to display |cert|.
-void ShowCertificateViewer(gfx::NativeWindow parent,
+void ShowCertificateViewer(content::WebContents* web_contents,
+ gfx::NativeWindow parent,
net::X509Certificate* cert);
#endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_
« no previous file with comments | « no previous file | chrome/browser/certificate_viewer.cc » ('j') | chrome/browser/ui/views/page_info_bubble_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698