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

Side by Side Diff: net/socket/ssl_client_socket_nss.cc

Issue 5794003: Deinline even more destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « net/socket/ssl_client_socket_nss.h ('k') | net/spdy/spdy_proxy_client_socket.h » ('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) 2010 The Chromium Authors. All rights reserved. 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 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 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived
6 // from AuthCertificateCallback() in 6 // from AuthCertificateCallback() in
7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp.
8 8
9 /* ***** BEGIN LICENSE BLOCK ***** 9 /* ***** BEGIN LICENSE BLOCK *****
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 bool ret = (pseudo_connected_ || completed_handshake_) && 942 bool ret = (pseudo_connected_ || completed_handshake_) &&
943 transport_->socket()->IsConnectedAndIdle(); 943 transport_->socket()->IsConnectedAndIdle();
944 LeaveFunction(""); 944 LeaveFunction("");
945 return ret; 945 return ret;
946 } 946 }
947 947
948 int SSLClientSocketNSS::GetPeerAddress(AddressList* address) const { 948 int SSLClientSocketNSS::GetPeerAddress(AddressList* address) const {
949 return transport_->socket()->GetPeerAddress(address); 949 return transport_->socket()->GetPeerAddress(address);
950 } 950 }
951 951
952 const BoundNetLog& SSLClientSocketNSS::NetLog() const {
953 return net_log_;
954 }
955
952 void SSLClientSocketNSS::SetSubresourceSpeculation() { 956 void SSLClientSocketNSS::SetSubresourceSpeculation() {
953 if (transport_.get() && transport_->socket()) { 957 if (transport_.get() && transport_->socket()) {
954 transport_->socket()->SetSubresourceSpeculation(); 958 transport_->socket()->SetSubresourceSpeculation();
955 } else { 959 } else {
956 NOTREACHED(); 960 NOTREACHED();
957 } 961 }
958 } 962 }
959 963
960 void SSLClientSocketNSS::SetOmniboxSpeculation() { 964 void SSLClientSocketNSS::SetOmniboxSpeculation() {
961 if (transport_.get() && transport_->socket()) { 965 if (transport_.get() && transport_->socket()) {
(...skipping 1657 matching lines...) Expand 10 before | Expand all | Expand 10 after
2619 case SSL_CONNECTION_VERSION_TLS1_1: 2623 case SSL_CONNECTION_VERSION_TLS1_1:
2620 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_1); 2624 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_1);
2621 break; 2625 break;
2622 case SSL_CONNECTION_VERSION_TLS1_2: 2626 case SSL_CONNECTION_VERSION_TLS1_2:
2623 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_2); 2627 UpdateConnectionTypeHistograms(CONNECTION_SSL_TLS1_2);
2624 break; 2628 break;
2625 }; 2629 };
2626 } 2630 }
2627 2631
2628 } // namespace net 2632 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.h ('k') | net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698