OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 TOOLS_ANDROID_FORWARDER2_DEVICE_LISTENER_H_ | 5 #ifndef TOOLS_ANDROID_FORWARDER2_DEVICE_LISTENER_H_ |
6 #define TOOLS_ANDROID_FORWARDER2_DEVICE_LISTENER_H_ | 6 #define TOOLS_ANDROID_FORWARDER2_DEVICE_LISTENER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
15 #include "tools/android/forwarder2/forwarders_manager.h" | 15 #include "tools/android/forwarder2/forwarders_manager.h" |
16 #include "tools/android/forwarder2/pipe_notifier.h" | 16 #include "tools/android/forwarder2/pipe_notifier.h" |
17 #include "tools/android/forwarder2/self_deleter_helper.h" | 17 #include "tools/android/forwarder2/self_deleter_helper.h" |
18 #include "tools/android/forwarder2/socket.h" | 18 #include "tools/android/forwarder2/socket.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class SingleThreadTaskRunner; | 21 class SingleThreadTaskRunner; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_refptr<base::SingleThreadTaskRunner> deletion_task_runner_; | 97 scoped_refptr<base::SingleThreadTaskRunner> deletion_task_runner_; |
98 base::Thread thread_; | 98 base::Thread thread_; |
99 ForwardersManager forwarders_manager_; | 99 ForwardersManager forwarders_manager_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(DeviceListener); | 101 DISALLOW_COPY_AND_ASSIGN(DeviceListener); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace forwarder | 104 } // namespace forwarder |
105 | 105 |
106 #endif // TOOLS_ANDROID_FORWARDER2_DEVICE_LISTENER_H_ | 106 #endif // TOOLS_ANDROID_FORWARDER2_DEVICE_LISTENER_H_ |
OLD | NEW |