| OLD | NEW | 
|    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/glue/proxy_resolving_client_socket.h" |    5 #include "jingle/glue/proxy_resolving_client_socket.h" | 
|    6  |    6  | 
|    7 #include "base/basictypes.h" |    7 #include "base/basictypes.h" | 
|    8 #include "base/bind.h" |    8 #include "base/bind.h" | 
|    9 #include "base/bind_helpers.h" |    9 #include "base/bind_helpers.h" | 
|   10 #include "base/compiler_specific.h" |   10 #include "base/compiler_specific.h" | 
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  413   if (transport_.get() && transport_->socket()) |  413   if (transport_.get() && transport_->socket()) | 
|  414     return transport_->socket()->GetNegotiatedProtocol(); |  414     return transport_->socket()->GetNegotiatedProtocol(); | 
|  415   NOTREACHED(); |  415   NOTREACHED(); | 
|  416   return net::kProtoUnknown; |  416   return net::kProtoUnknown; | 
|  417 } |  417 } | 
|  418  |  418  | 
|  419 bool ProxyResolvingClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { |  419 bool ProxyResolvingClientSocket::GetSSLInfo(net::SSLInfo* ssl_info) { | 
|  420   return false; |  420   return false; | 
|  421 } |  421 } | 
|  422  |  422  | 
 |  423 void ProxyResolvingClientSocket::GetConnectionAttempts( | 
 |  424     net::ConnectionAttempts* out) const { | 
 |  425   out->clear(); | 
 |  426 } | 
 |  427  | 
|  423 void ProxyResolvingClientSocket::CloseTransportSocket() { |  428 void ProxyResolvingClientSocket::CloseTransportSocket() { | 
|  424   if (transport_.get() && transport_->socket()) |  429   if (transport_.get() && transport_->socket()) | 
|  425     transport_->socket()->Disconnect(); |  430     transport_->socket()->Disconnect(); | 
|  426   transport_.reset(); |  431   transport_.reset(); | 
|  427 } |  432 } | 
|  428  |  433  | 
|  429 }  // namespace jingle_glue |  434 }  // namespace jingle_glue | 
| OLD | NEW |