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 DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_THREAD_H_ | 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_THREAD_H_ |
6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_THREAD_H_ | 6 #define DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_THREAD_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/threading/thread_checker.h" | 11 #include "base/threading/thread_checker.h" |
11 #include "device/bluetooth/bluetooth_export.h" | 12 #include "device/bluetooth/bluetooth_export.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class SequencedTaskRunner; | 15 class SequencedTaskRunner; |
15 class Thread; | 16 class Thread; |
16 } // namespace base | 17 } // namespace base |
17 | 18 |
(...skipping 24 matching lines...) Expand all Loading... |
42 int active_socket_count_; | 43 int active_socket_count_; |
43 scoped_ptr<base::Thread> thread_; | 44 scoped_ptr<base::Thread> thread_; |
44 scoped_refptr<base::SequencedTaskRunner> task_runner_; | 45 scoped_refptr<base::SequencedTaskRunner> task_runner_; |
45 | 46 |
46 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketThread); | 47 DISALLOW_COPY_AND_ASSIGN(BluetoothSocketThread); |
47 }; | 48 }; |
48 | 49 |
49 } // namespace device | 50 } // namespace device |
50 | 51 |
51 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_THREAD_H_ | 52 #endif // DEVICE_BLUETOOTH_BLUETOOTH_SOCKET_THREAD_H_ |
OLD | NEW |