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

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

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #ifndef MOJO_SERVICES_NETWORK_TCP_CONNECTED_SOCKET_H_ 5 #ifndef MOJO_SERVICES_NETWORK_TCP_CONNECTED_SOCKET_H_
6 #define MOJO_SERVICES_NETWORK_TCP_CONNECTED_SOCKET_H_ 6 #define MOJO_SERVICES_NETWORK_TCP_CONNECTED_SOCKET_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "mojo/common/handle_watcher.h" 10 #include "mojo/message_pump/handle_watcher.h"
11 #include "mojo/services/network/interfaces/tcp_connected_socket.mojom.h" 11 #include "mojo/services/network/interfaces/tcp_connected_socket.mojom.h"
12 #include "net/socket/tcp_socket.h" 12 #include "net/socket/tcp_socket.h"
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 13 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 class MojoToNetPendingBuffer; 17 class MojoToNetPendingBuffer;
18 class NetToMojoPendingBuffer; 18 class NetToMojoPendingBuffer;
19 19
20 class TCPConnectedSocketImpl : public TCPConnectedSocket { 20 class TCPConnectedSocketImpl : public TCPConnectedSocket {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 Binding<TCPConnectedSocket> binding_; 68 Binding<TCPConnectedSocket> binding_;
69 69
70 bool send_more_posted_; 70 bool send_more_posted_;
71 71
72 base::WeakPtrFactory<TCPConnectedSocketImpl> weak_ptr_factory_; 72 base::WeakPtrFactory<TCPConnectedSocketImpl> weak_ptr_factory_;
73 }; 73 };
74 74
75 } // namespace mojo 75 } // namespace mojo
76 76
77 #endif // MOJO_SERVICES_NETWORK_TCP_CONNECTED_SOCKET_H_ 77 #endif // MOJO_SERVICES_NETWORK_TCP_CONNECTED_SOCKET_H_
OLDNEW
« no previous file with comments | « mojo/services/network/network_service_impl.cc ('k') | mojo/services/network/udp_socket_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698