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_SERIAL_SERIAL_SERVICE_IMPL_H_ | 5 #ifndef DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ |
6 #define DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ | 6 #define DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
11 #include "device/serial/data_stream.mojom.h" | 12 #include "device/serial/data_stream.mojom.h" |
12 #include "device/serial/serial.mojom.h" | 13 #include "device/serial/serial.mojom.h" |
13 #include "device/serial/serial_connection_factory.h" | 14 #include "device/serial/serial_connection_factory.h" |
14 #include "device/serial/serial_device_enumerator.h" | 15 #include "device/serial/serial_device_enumerator.h" |
15 #include "mojo/public/cpp/bindings/strong_binding.h" | 16 #include "mojo/public/cpp/bindings/strong_binding.h" |
16 | 17 |
17 namespace device { | 18 namespace device { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 scoped_ptr<SerialDeviceEnumerator> device_enumerator_; | 54 scoped_ptr<SerialDeviceEnumerator> device_enumerator_; |
54 scoped_refptr<SerialConnectionFactory> connection_factory_; | 55 scoped_refptr<SerialConnectionFactory> connection_factory_; |
55 mojo::StrongBinding<serial::SerialService> binding_; | 56 mojo::StrongBinding<serial::SerialService> binding_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(SerialServiceImpl); | 58 DISALLOW_COPY_AND_ASSIGN(SerialServiceImpl); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace device | 61 } // namespace device |
61 | 62 |
62 #endif // DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ | 63 #endif // DEVICE_SERIAL_SERIAL_SERVICE_IMPL_H_ |
OLD | NEW |