OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef DEVICE_COMMON_DEVICE_CLIENT_H_ | |
6 #define DEVICE_COMMON_DEVICE_CLIENT_H_ | |
7 | |
8 namespace usb_service { | |
9 class UsbService; | |
10 } | |
11 | |
12 namespace device { | |
13 | |
14 class DeviceClient { | |
scheib
2014/08/28 18:18:14
Every class definition should have an accompanying
| |
15 public: | |
16 // Construction sets the singlse instance. | |
17 DeviceClient(); | |
18 | |
19 // Destruction clears the single instance. | |
20 ~DeviceClient(); | |
21 | |
22 // Returns the single instance of |this|. | |
23 static DeviceClient* Get(); | |
24 | |
25 // Returns the UsbService instance for this embedder. | |
26 virtual usb_service::UsbService* GetUsbService(); | |
27 }; | |
28 | |
29 } // namespace device | |
30 | |
31 #endif // DEVICE_COMMON_DEVICE_CLIENT_H_ | |
OLD | NEW |