Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: device/usb/usb_interface_impl.h

Issue 497363004: Merge components/usb_service into device/usb. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/usb/usb_interface.h ('k') | device/usb/usb_interface_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_interface_impl.h
diff --git a/components/usb_service/usb_interface_impl.h b/device/usb/usb_interface_impl.h
similarity index 90%
rename from components/usb_service/usb_interface_impl.h
rename to device/usb/usb_interface_impl.h
index defde69d903144d6e4d8b6f8eaefba9a2bf7fa77..0f6b91358b6e023204c3c688fda52bfeda4da197 100644
--- a/components/usb_service/usb_interface_impl.h
+++ b/device/usb/usb_interface_impl.h
@@ -2,19 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_USB_SERVICE_USB_INTERFACE_IMPL_H_
-#define COMPONENTS_USB_SERVICE_USB_INTERFACE_IMPL_H_
+#ifndef DEVICE_USB_USB_INTERFACE_IMPL_H_
+#define DEVICE_USB_USB_INTERFACE_IMPL_H_
#include "base/memory/ref_counted.h"
-#include "components/usb_service/usb_interface.h"
-#include "components/usb_service/usb_service_export.h"
+#include "device/usb/usb_interface.h"
struct libusb_config_descriptor;
struct libusb_endpoint_descriptor;
struct libusb_interface;
struct libusb_interface_descriptor;
-namespace usb_service {
+namespace device {
typedef libusb_config_descriptor* PlatformUsbConfigDescriptor;
typedef const libusb_endpoint_descriptor* PlatformUsbEndpointDescriptor;
@@ -39,7 +38,7 @@ class UsbEndpointDescriptorImpl : public UsbEndpointDescriptor {
friend class UsbInterfaceAltSettingDescriptorImpl;
UsbEndpointDescriptorImpl(scoped_refptr<const UsbConfigDescriptor> config,
- PlatformUsbEndpointDescriptor descriptor);
+ PlatformUsbEndpointDescriptor descriptor);
virtual ~UsbEndpointDescriptorImpl();
scoped_refptr<const UsbConfigDescriptor> config_;
@@ -113,6 +112,6 @@ class UsbConfigDescriptorImpl : public UsbConfigDescriptor {
DISALLOW_COPY_AND_ASSIGN(UsbConfigDescriptorImpl);
};
-} // namespace usb_service;
+} // namespace device
-#endif // COMPONENTS_USB_SERVICE_USB_INTERFACE_IMPL_H_
+#endif // DEVICE_USB_USB_INTERFACE_IMPL_H_
« no previous file with comments | « device/usb/usb_interface.h ('k') | device/usb/usb_interface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698