OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 NET_SOCKET_TCP_PINGER_H_ | 5 #ifndef NET_SOCKET_TCP_PINGER_H_ |
6 #define NET_SOCKET_TCP_PINGER_H_ | 6 #define NET_SOCKET_TCP_PINGER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/dynamic_annotations.h" | |
10 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
11 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
12 #include "base/task.h" | 11 #include "base/task.h" |
| 12 #include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
13 #include "base/thread.h" | 13 #include "base/thread.h" |
14 #include "base/waitable_event.h" | 14 #include "base/waitable_event.h" |
15 #include "net/base/address_list.h" | 15 #include "net/base/address_list.h" |
16 #include "net/base/completion_callback.h" | 16 #include "net/base/completion_callback.h" |
17 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
18 #include "net/socket/tcp_client_socket.h" | 18 #include "net/socket/tcp_client_socket.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class TimeDelta; | 21 class TimeDelta; |
22 } | 22 } |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 }; | 131 }; |
132 | 132 |
133 base::Thread io_thread_; | 133 base::Thread io_thread_; |
134 Worker* worker_; | 134 Worker* worker_; |
135 DISALLOW_COPY_AND_ASSIGN(TCPPinger); | 135 DISALLOW_COPY_AND_ASSIGN(TCPPinger); |
136 }; | 136 }; |
137 | 137 |
138 } // namespace net | 138 } // namespace net |
139 | 139 |
140 #endif // NET_SOCKET_TCP_PINGER_H_ | 140 #endif // NET_SOCKET_TCP_PINGER_H_ |
OLD | NEW |