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

Unified Diff: device/usb/usb_descriptors.cc

Issue 567003002: Revert of Convert device::UsbConfigDescriptor and friends to structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_descriptors.h ('k') | device/usb/usb_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb_descriptors.cc
diff --git a/device/usb/usb_descriptors.cc b/device/usb/usb_descriptors.cc
deleted file mode 100644
index d68d60e836ae31e5531df8ad7cbb210367525877..0000000000000000000000000000000000000000
--- a/device/usb/usb_descriptors.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "device/usb/usb_descriptors.h"
-
-namespace device {
-
-UsbEndpointDescriptor::UsbEndpointDescriptor()
- : address(0),
- direction(USB_DIRECTION_INBOUND),
- maximum_packet_size(0),
- synchronization_type(USB_SYNCHRONIZATION_NONE),
- transfer_type(USB_TRANSFER_CONTROL),
- usage_type(USB_USAGE_DATA),
- polling_interval(0) {
-}
-
-UsbEndpointDescriptor::~UsbEndpointDescriptor() {
-}
-
-UsbInterfaceDescriptor::UsbInterfaceDescriptor()
- : interface_number(0),
- alternate_setting(0),
- interface_class(0),
- interface_subclass(0),
- interface_protocol(0) {
-}
-
-UsbInterfaceDescriptor::~UsbInterfaceDescriptor() {
-}
-
-UsbConfigDescriptor::UsbConfigDescriptor()
- : configuration_value(0),
- self_powered(false),
- remote_wakeup(false),
- maximum_power(0) {
-}
-
-UsbConfigDescriptor::~UsbConfigDescriptor() {
-}
-
-} // namespace device
« no previous file with comments | « device/usb/usb_descriptors.h ('k') | device/usb/usb_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698