diff options
author | reillyg <reillyg@chromium.org> | 2014-09-03 17:57:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-04 01:03:27 +0000 |
commit | d77718de5c3963cf0fe31e59c27c3e2aebfb26cb (patch) | |
tree | 65a996cddf74653fa2b4d1c3d583110eaa8132cf /device/core | |
parent | 6b0fbe4cbbdd357a17c8a72f92535403fa50515a (diff) | |
download | chromium_src-d77718de5c3963cf0fe31e59c27c3e2aebfb26cb.zip chromium_src-d77718de5c3963cf0fe31e59c27c3e2aebfb26cb.tar.gz chromium_src-d77718de5c3963cf0fe31e59c27c3e2aebfb26cb.tar.bz2 |
Merge components/usb_service into device/usb.
Unify these two parts of out USB device support. The //device tree is
the cannonical location for hardware device APIs.
BUG=
Review URL: https://codereview.chromium.org/497363004
Cr-Commit-Position: refs/heads/master@{#293246}
Diffstat (limited to 'device/core')
-rw-r--r-- | device/core/device_client.cc | 2 | ||||
-rw-r--r-- | device/core/device_client.h | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/device/core/device_client.cc b/device/core/device_client.cc index ad96b1e..f92ec17 100644 --- a/device/core/device_client.cc +++ b/device/core/device_client.cc @@ -29,7 +29,7 @@ DeviceClient* DeviceClient::Get() { return g_instance; } -usb_service::UsbService* DeviceClient::GetUsbService() { +UsbService* DeviceClient::GetUsbService() { // This should never be called by clients which do not support the USB API. NOTREACHED(); return NULL; diff --git a/device/core/device_client.h b/device/core/device_client.h index d8d938b..3ca3130 100644 --- a/device/core/device_client.h +++ b/device/core/device_client.h @@ -7,12 +7,10 @@ #include "base/macros.h" -namespace usb_service { -class UsbService; -} - namespace device { +class UsbService; + // Interface used by consumers of //device APIs to get pointers to the service // singletons appropriate for a given embedding application. For an example see // //chrome/browser/chrome_device_client.h. @@ -28,7 +26,7 @@ class DeviceClient { static DeviceClient* Get(); // Returns the UsbService instance for this embedder. - virtual usb_service::UsbService* GetUsbService(); + virtual UsbService* GetUsbService(); private: DISALLOW_COPY_AND_ASSIGN(DeviceClient); |