| 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 #include "device/usb/usb_descriptors.h" | |
| 6 | |
| 7 namespace device { | |
| 8 | |
| 9 UsbEndpointDescriptor::UsbEndpointDescriptor() | |
| 10 : address(0), | |
| 11 direction(USB_DIRECTION_INBOUND), | |
| 12 maximum_packet_size(0), | |
| 13 synchronization_type(USB_SYNCHRONIZATION_NONE), | |
| 14 transfer_type(USB_TRANSFER_CONTROL), | |
| 15 usage_type(USB_USAGE_DATA), | |
| 16 polling_interval(0) { | |
| 17 } | |
| 18 | |
| 19 UsbEndpointDescriptor::~UsbEndpointDescriptor() { | |
| 20 } | |
| 21 | |
| 22 UsbInterfaceDescriptor::UsbInterfaceDescriptor() | |
| 23 : interface_number(0), | |
| 24 alternate_setting(0), | |
| 25 interface_class(0), | |
| 26 interface_subclass(0), | |
| 27 interface_protocol(0) { | |
| 28 } | |
| 29 | |
| 30 UsbInterfaceDescriptor::~UsbInterfaceDescriptor() { | |
| 31 } | |
| 32 | |
| 33 UsbConfigDescriptor::UsbConfigDescriptor() | |
| 34 : configuration_value(0), | |
| 35 self_powered(false), | |
| 36 remote_wakeup(false), | |
| 37 maximum_power(0) { | |
| 38 } | |
| 39 | |
| 40 UsbConfigDescriptor::~UsbConfigDescriptor() { | |
| 41 } | |
| 42 | |
| 43 } // namespace device | |
| OLD | NEW |