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

Side by Side Diff: jingle/notifier/base/fake_ssl_client_socket.cc

Issue 10491007: fixed issue 128383 - replace GetPeerAddress(AddressList* address) with GetPeerAddress(IPEndPoint* a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PLT Created 8 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
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 "jingle/notifier/base/fake_ssl_client_socket.h" 5 #include "jingle/notifier/base/fake_ssl_client_socket.h"
6 6
7 #include <cstdlib> 7 #include <cstdlib>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 } 295 }
296 296
297 bool FakeSSLClientSocket::IsConnected() const { 297 bool FakeSSLClientSocket::IsConnected() const {
298 return handshake_completed_ && transport_socket_->IsConnected(); 298 return handshake_completed_ && transport_socket_->IsConnected();
299 } 299 }
300 300
301 bool FakeSSLClientSocket::IsConnectedAndIdle() const { 301 bool FakeSSLClientSocket::IsConnectedAndIdle() const {
302 return handshake_completed_ && transport_socket_->IsConnectedAndIdle(); 302 return handshake_completed_ && transport_socket_->IsConnectedAndIdle();
303 } 303 }
304 304
305 int FakeSSLClientSocket::GetPeerAddress(net::AddressList* address) const { 305 int FakeSSLClientSocket::GetPeerAddress(net::IPEndPoint* address) const {
306 return transport_socket_->GetPeerAddress(address); 306 return transport_socket_->GetPeerAddress(address);
307 } 307 }
308 308
309 int FakeSSLClientSocket::GetLocalAddress(net::IPEndPoint* address) const { 309 int FakeSSLClientSocket::GetLocalAddress(net::IPEndPoint* address) const {
310 return transport_socket_->GetLocalAddress(address); 310 return transport_socket_->GetLocalAddress(address);
311 } 311 }
312 312
313 const net::BoundNetLog& FakeSSLClientSocket::NetLog() const { 313 const net::BoundNetLog& FakeSSLClientSocket::NetLog() const {
314 return transport_socket_->NetLog(); 314 return transport_socket_->NetLog();
315 } 315 }
(...skipping 20 matching lines...) Expand all
336 336
337 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const { 337 base::TimeDelta FakeSSLClientSocket::GetConnectTimeMicros() const {
338 return transport_socket_->GetConnectTimeMicros(); 338 return transport_socket_->GetConnectTimeMicros();
339 } 339 }
340 340
341 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const { 341 net::NextProto FakeSSLClientSocket::GetNegotiatedProtocol() const {
342 return transport_socket_->GetNegotiatedProtocol(); 342 return transport_socket_->GetNegotiatedProtocol();
343 } 343 }
344 344
345 } // namespace notifier 345 } // namespace notifier
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698