Chromium Code Reviews| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 416 void ProxyResolvingClientSocket::GetConnectionAttempts( | 416 void ProxyResolvingClientSocket::GetConnectionAttempts( |
| 417 net::ConnectionAttempts* out) const { | 417 net::ConnectionAttempts* out) const { |
| 418 out->clear(); | 418 out->clear(); |
| 419 } | 419 } |
| 420 | 420 |
| 421 int64_t ProxyResolvingClientSocket::GetTotalReceivedBytes() const { | 421 int64_t ProxyResolvingClientSocket::GetTotalReceivedBytes() const { |
| 422 NOTIMPLEMENTED(); | 422 NOTIMPLEMENTED(); |
| 423 return 0; | 423 return 0; |
| 424 } | 424 } |
| 425 | 425 |
| 426 void ProxyResolvingClientSocket::DumpMemoryStats( | |
| 427 base::trace_event::MemoryAllocatorDump* dump) const {} | |
|
eroman
2016/11/29 22:22:50
Presumably this should forward to transport_->sock
xunjieli
2016/11/30 16:02:03
Done.
| |
| 428 | |
| 426 void ProxyResolvingClientSocket::CloseTransportSocket() { | 429 void ProxyResolvingClientSocket::CloseTransportSocket() { |
| 427 if (transport_.get() && transport_->socket()) | 430 if (transport_.get() && transport_->socket()) |
| 428 transport_->socket()->Disconnect(); | 431 transport_->socket()->Disconnect(); |
| 429 transport_.reset(); | 432 transport_.reset(); |
| 430 } | 433 } |
| 431 | 434 |
| 432 } // namespace jingle_glue | 435 } // namespace jingle_glue |
| OLD | NEW |