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

Side by Side Diff: chrome/browser/ssl_client_certificate_selector.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 5 #ifndef CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
6 #define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 6 #define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 10
11 class TabContentsWrapper; 11 class TabContents;
12 typedef TabContents TabContentsWrapper;
12 13
13 namespace net { 14 namespace net {
14 class HttpNetworkSession; 15 class HttpNetworkSession;
15 class SSLCertRequestInfo; 16 class SSLCertRequestInfo;
16 class X509Certificate; 17 class X509Certificate;
17 } 18 }
18 19
19 namespace browser { 20 namespace browser {
20 21
21 // Opens a constrained SSL client certificate selection dialog under |parent|, 22 // Opens a constrained SSL client certificate selection dialog under |parent|,
22 // offering certificates from |cert_request_info|. When the user has made a 23 // offering certificates from |cert_request_info|. When the user has made a
23 // selection, the dialog will report back to |callback|. |callback| is notified 24 // selection, the dialog will report back to |callback|. |callback| is notified
24 // when the dialog closes in call cases; if the user cancels the dialog, we call 25 // when the dialog closes in call cases; if the user cancels the dialog, we call
25 // with a NULL certificate. 26 // with a NULL certificate.
26 void ShowSSLClientCertificateSelector( 27 void ShowSSLClientCertificateSelector(
27 TabContentsWrapper* wrapper, 28 TabContentsWrapper* wrapper,
28 const net::HttpNetworkSession* network_session, 29 const net::HttpNetworkSession* network_session,
29 net::SSLCertRequestInfo* cert_request_info, 30 net::SSLCertRequestInfo* cert_request_info,
30 const base::Callback<void(net::X509Certificate*)>& callback); 31 const base::Callback<void(net::X509Certificate*)>& callback);
31 32
32 } // namespace browser 33 } // namespace browser
33 34
34 #endif // CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_ 35 #endif // CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_service.h ('k') | chrome/browser/tab_contents/tab_contents_ssl_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698