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

Side by Side Diff: net/socket/socks5_client_socket.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/socks5_client_socket.h ('k') | net/socket/socks_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 #include "net/socket/socks5_client_socket.h" 5 #include "net/socket/socks5_client_socket.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/format_macros.h" 10 #include "base/format_macros.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 100
101 bool SOCKS5ClientSocket::IsConnected() const { 101 bool SOCKS5ClientSocket::IsConnected() const {
102 return completed_handshake_ && transport_->socket()->IsConnected(); 102 return completed_handshake_ && transport_->socket()->IsConnected();
103 } 103 }
104 104
105 bool SOCKS5ClientSocket::IsConnectedAndIdle() const { 105 bool SOCKS5ClientSocket::IsConnectedAndIdle() const {
106 return completed_handshake_ && transport_->socket()->IsConnectedAndIdle(); 106 return completed_handshake_ && transport_->socket()->IsConnectedAndIdle();
107 } 107 }
108 108
109 const BoundNetLog& SOCKS5ClientSocket::NetLog() const {
110 return net_log_;
111 }
112
109 void SOCKS5ClientSocket::SetSubresourceSpeculation() { 113 void SOCKS5ClientSocket::SetSubresourceSpeculation() {
110 if (transport_.get() && transport_->socket()) { 114 if (transport_.get() && transport_->socket()) {
111 transport_->socket()->SetSubresourceSpeculation(); 115 transport_->socket()->SetSubresourceSpeculation();
112 } else { 116 } else {
113 NOTREACHED(); 117 NOTREACHED();
114 } 118 }
115 } 119 }
116 120
117 void SOCKS5ClientSocket::SetOmniboxSpeculation() { 121 void SOCKS5ClientSocket::SetOmniboxSpeculation() {
118 if (transport_.get() && transport_->socket()) { 122 if (transport_.get() && transport_->socket()) {
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 475
472 next_state_ = STATE_HANDSHAKE_READ; 476 next_state_ = STATE_HANDSHAKE_READ;
473 return OK; 477 return OK;
474 } 478 }
475 479
476 int SOCKS5ClientSocket::GetPeerAddress(AddressList* address) const { 480 int SOCKS5ClientSocket::GetPeerAddress(AddressList* address) const {
477 return transport_->socket()->GetPeerAddress(address); 481 return transport_->socket()->GetPeerAddress(address);
478 } 482 }
479 483
480 } // namespace net 484 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/socks5_client_socket.h ('k') | net/socket/socks_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698