| 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 #include "device/core/device_client.h" | 5 #include "device/core/device_client.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace device { | 9 namespace device { |
| 10 | 10 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 DCHECK(g_instance); | 28 DCHECK(g_instance); |
| 29 return g_instance; | 29 return g_instance; |
| 30 } | 30 } |
| 31 | 31 |
| 32 UsbService* DeviceClient::GetUsbService() { | 32 UsbService* DeviceClient::GetUsbService() { |
| 33 // This should never be called by clients which do not support the USB API. | 33 // This should never be called by clients which do not support the USB API. |
| 34 NOTREACHED(); | 34 NOTREACHED(); |
| 35 return NULL; | 35 return NULL; |
| 36 } | 36 } |
| 37 | 37 |
| 38 void DeviceClient::ConnectToUSBDeviceManager( | |
| 39 mojo::InterfaceRequest<usb::DeviceManager> request) { | |
| 40 } | |
| 41 | |
| 42 HidService* DeviceClient::GetHidService() { | 38 HidService* DeviceClient::GetHidService() { |
| 43 // This should never be called by clients which do not support the HID API. | 39 // This should never be called by clients which do not support the HID API. |
| 44 NOTREACHED(); | 40 NOTREACHED(); |
| 45 return NULL; | 41 return NULL; |
| 46 } | 42 } |
| 47 | 43 |
| 48 } // namespace device | 44 } // namespace device |
| OLD | NEW |