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

Side by Side Diff: content/browser/ssl/ssl_client_auth_handler.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 | « content/browser/speech/speech_recognizer_impl.cc ('k') | content/browser/ssl/ssl_policy.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 #include "content/browser/ssl/ssl_client_auth_handler.h" 5 #include "content/browser/ssl/ssl_client_auth_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "content/browser/loader/resource_dispatcher_host_impl.h" 8 #include "content/browser/loader/resource_dispatcher_host_impl.h"
9 #include "content/browser/loader/resource_request_info_impl.h" 9 #include "content/browser/loader/resource_request_info_impl.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 ResourceDispatcherHostImpl::Get()-> 80 ResourceDispatcherHostImpl::Get()->
81 ClearSSLClientAuthHandlerForRequest(request_); 81 ClearSSLClientAuthHandlerForRequest(request_);
82 request_ = NULL; 82 request_ = NULL;
83 } 83 }
84 } 84 }
85 85
86 void SSLClientAuthHandler::DoSelectCertificate( 86 void SSLClientAuthHandler::DoSelectCertificate(
87 int render_process_host_id, int render_view_host_id) { 87 int render_process_host_id, int render_view_host_id) {
88 GetContentClient()->browser()->SelectClientCertificate( 88 GetContentClient()->browser()->SelectClientCertificate(
89 render_process_host_id, render_view_host_id, http_network_session_, 89 render_process_host_id,
90 cert_request_info_, 90 render_view_host_id,
91 http_network_session_,
92 cert_request_info_.get(),
91 base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); 93 base::Bind(&SSLClientAuthHandler::CertificateSelected, this));
92 } 94 }
93 95
94 } // namespace content 96 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/speech/speech_recognizer_impl.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698