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

Side by Side Diff: chrome/browser/tab_contents/tab_contents_ssl_helper.cc

Issue 2823038: Refactor SSLClientAuthHandler and certificate selection (Closed)
Patch Set: Rebase the patch Created 10 years, 5 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
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/tab_contents/tab_contents_ssl_helper.h"
6
7 #include "chrome/browser/ssl/ssl_client_auth_handler.h"
8 #include "chrome/browser/ssl_client_certificate_selector.h"
9 #include "chrome/browser/tab_contents/tab_contents.h"
10
11 TabContentsSSLHelper::TabContentsSSLHelper(TabContents* tab_contents)
12 : tab_contents_(tab_contents) {
13 }
14
15 TabContentsSSLHelper::~TabContentsSSLHelper() {
16 }
17
18 void TabContentsSSLHelper::ShowClientCertificateRequestDialog(
19 scoped_refptr<SSLClientAuthHandler> handler) {
20 // Display the native certificate request dialog for each platform.
21 browser::ShowSSLClientCertificateSelector(
22 tab_contents_->GetMessageBoxRootWindow(),
23 handler->cert_request_info(), handler);
24 }
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_ssl_helper.h ('k') | chrome/browser/views/ssl_client_certificate_selector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698