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

Side by Side Diff: mojo/services/network/tcp_connected_socket_impl.cc

Issue 634713002: Implement parts of the Mojo TCP interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing file in gyp Created 6 years, 2 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
OLDNEW
(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
OLDNEW
« no previous file with comments | « mojo/services/network/tcp_connected_socket_impl.h ('k') | mojo/services/network/tcp_server_socket_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698