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

Side by Side Diff: chrome/browser/ssl/ssl_client_auth_requestor_mock.cc

Issue 511163002: Net-related fixups for scoped_refptr conversion operator cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix naming to match Created 6 years, 3 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
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 "chrome/browser/ssl/ssl_client_auth_requestor_mock.h" 5 #include "chrome/browser/ssl/ssl_client_auth_requestor_mock.h"
6 6
7 #include "net/http/http_transaction_factory.h" 7 #include "net/http/http_transaction_factory.h"
8 #include "net/ssl/ssl_cert_request_info.h"
8 #include "net/url_request/url_request.h" 9 #include "net/url_request/url_request.h"
9 #include "net/url_request/url_request_context.h" 10 #include "net/url_request/url_request_context.h"
10 11
11 SSLClientAuthRequestorMock::SSLClientAuthRequestorMock( 12 SSLClientAuthRequestorMock::SSLClientAuthRequestorMock(
12 net::URLRequest* request, 13 net::URLRequest* request,
13 net::SSLCertRequestInfo* cert_request_info) 14 const scoped_refptr<net::SSLCertRequestInfo>& cert_request_info)
14 : cert_request_info_(cert_request_info), 15 : cert_request_info_(cert_request_info),
15 http_network_session_( 16 http_network_session_(request->context()
16 request->context()->http_transaction_factory()->GetSession()) { 17 ->http_transaction_factory()
18 ->GetSession()) {
17 } 19 }
18 20
19 SSLClientAuthRequestorMock::~SSLClientAuthRequestorMock() {} 21 SSLClientAuthRequestorMock::~SSLClientAuthRequestorMock() {}
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_client_auth_requestor_mock.h ('k') | chrome/browser/ui/views/ssl_client_certificate_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698