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

Side by Side Diff: device/hid/hid_device_info.cc

Issue 161823002: Clean up HID backend and API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/hid/hid_device_info.h" 5 #include "device/hid/hid_device_info.h"
6 6
7 namespace device { 7 namespace device {
8 8
9 HidDeviceInfo::HidDeviceInfo() 9 HidDeviceInfo::HidDeviceInfo()
10 : bus_type(kHIDBusTypeUSB), 10 : device_id(kInvalidHidDeviceId),
11 bus_type(kHIDBusTypeUSB),
11 vendor_id(0), 12 vendor_id(0),
12 product_id(0), 13 product_id(0),
13 input_report_size(0), 14 input_report_size(0),
14 output_report_size(0), 15 output_report_size(0),
15 feature_report_size(0), 16 feature_report_size(0),
16 usage_page(0), 17 usage_page(0),
17 usage(0), 18 usage(0),
18 has_report_id(false) {} 19 has_report_id(false) {}
19 20
20 HidDeviceInfo::~HidDeviceInfo() {} 21 HidDeviceInfo::~HidDeviceInfo() {}
21 22
22 } // namespace device 23 } // namespace device
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698