OLD | NEW |
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_UDP_SOCKET_IMPL_H_ | 5 #ifndef MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ |
6 #define MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ | 6 #define MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <deque> | 11 #include <deque> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "mojo/application/public/cpp/app_lifetime_helper.h" | |
16 #include "mojo/public/cpp/bindings/strong_binding.h" | 15 #include "mojo/public/cpp/bindings/strong_binding.h" |
17 #include "mojo/services/network/public/interfaces/udp_socket.mojom.h" | 16 #include "mojo/services/network/public/interfaces/udp_socket.mojom.h" |
| 17 #include "mojo/shell/public/cpp/app_lifetime_helper.h" |
18 #include "net/base/ip_endpoint.h" | 18 #include "net/base/ip_endpoint.h" |
19 #include "net/udp/udp_socket.h" | 19 #include "net/udp/udp_socket.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 class IOBuffer; | 22 class IOBuffer; |
23 class IOBufferWithSize; | 23 class IOBufferWithSize; |
24 } | 24 } |
25 | 25 |
26 namespace mojo { | 26 namespace mojo { |
27 | 27 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 size_t max_pending_send_requests_; | 124 size_t max_pending_send_requests_; |
125 | 125 |
126 scoped_ptr<mojo::AppRefCount> app_refcount_; | 126 scoped_ptr<mojo::AppRefCount> app_refcount_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(UDPSocketImpl); | 128 DISALLOW_COPY_AND_ASSIGN(UDPSocketImpl); |
129 }; | 129 }; |
130 | 130 |
131 } // namespace mojo | 131 } // namespace mojo |
132 | 132 |
133 #endif // MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ | 133 #endif // MOJO_SERVICES_NETWORK_UDP_SOCKET_IMPL_H_ |
OLD | NEW |