| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "mojo/services/network/tcp_connected_socket_impl.h" |
| 6 |
| 7 namespace mojo { |
| 8 |
| 9 TCPConnectedSocketImpl::TCPConnectedSocketImpl( |
| 10 scoped_ptr<net::TCPSocket> socket, |
| 11 ScopedDataPipeConsumerHandle send_stream, |
| 12 ScopedDataPipeProducerHandle receive_stream) |
| 13 : socket_(socket.Pass()), |
| 14 send_stream_(send_stream.Pass()), |
| 15 receive_stream_(receive_stream.Pass()) { |
| 16 } |
| 17 |
| 18 TCPConnectedSocketImpl::~TCPConnectedSocketImpl() { |
| 19 } |
| 20 |
| 21 } // namespace mojo |
| OLD | NEW |