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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/certificate_viewer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 5 #ifndef CHROME_BROWSER_CERTIFICATE_VIEWER_H_
6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 6 #define CHROME_BROWSER_CERTIFICATE_VIEWER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 namespace content {
12 class WebContents;
13 }
14
11 namespace net { 15 namespace net {
12 16
13 class X509Certificate; 17 class X509Certificate;
14 18
15 } // namespace net 19 } // namespace net
16 20
17 // Opens a certificate viewer under |parent| to display the certificate from 21 // Opens a certificate viewer under |parent| to display the certificate from
18 // the |CertStore| with id |cert_id|. 22 // the |CertStore| with id |cert_id|.
19 void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id); 23 void ShowCertificateViewerByID(content::WebContents* web_contents,
24 gfx::NativeWindow parent,
25 int cert_id);
20 26
21 // Opens a certificate viewer under |parent| to display |cert|. 27 // Opens a certificate viewer under |parent| to display |cert|.
22 void ShowCertificateViewer(gfx::NativeWindow parent, 28 void ShowCertificateViewer(content::WebContents* web_contents,
29 gfx::NativeWindow parent,
23 net::X509Certificate* cert); 30 net::X509Certificate* cert);
24 31
25 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_ 32 #endif // CHROME_BROWSER_CERTIFICATE_VIEWER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/certificate_viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698