Add a missing dependency to //extensions/extensions_renderer_resources
[chromium-blink-merge.git] / device / usb / usb_descriptors.cc
blobd68d60e836ae31e5531df8ad7cbb210367525877
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.
5 #include "device/usb/usb_descriptors.h"
7 namespace device {
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) {
19 UsbEndpointDescriptor::~UsbEndpointDescriptor() {
22 UsbInterfaceDescriptor::UsbInterfaceDescriptor()
23 : interface_number(0),
24 alternate_setting(0),
25 interface_class(0),
26 interface_subclass(0),
27 interface_protocol(0) {
30 UsbInterfaceDescriptor::~UsbInterfaceDescriptor() {
33 UsbConfigDescriptor::UsbConfigDescriptor()
34 : configuration_value(0),
35 self_powered(false),
36 remote_wakeup(false),
37 maximum_power(0) {
40 UsbConfigDescriptor::~UsbConfigDescriptor() {
43 } // namespace device