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

Unified Diff: device/hid/hid_device_info.cc

Issue 825523003: Convert HidDeviceInfo from a struct to a refcounted class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO to remove friend class definitions. Created 5 years, 11 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/hid/hid_device_info.h ('k') | device/hid/hid_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_device_info.cc
diff --git a/device/hid/hid_device_info.cc b/device/hid/hid_device_info.cc
index 6298ebca5028aaa18a48c75f11f474cc801dd832..1a9d3a65c75a6d46fa81d28ec8f0500c7671057f 100644
--- a/device/hid/hid_device_info.cc
+++ b/device/hid/hid_device_info.cc
@@ -9,14 +9,14 @@ namespace device {
const char kInvalidHidDeviceId[] = "";
HidDeviceInfo::HidDeviceInfo()
- : device_id(kInvalidHidDeviceId),
- vendor_id(0),
- product_id(0),
- bus_type(kHIDBusTypeUSB),
- has_report_id(false),
- max_input_report_size(0),
- max_output_report_size(0),
- max_feature_report_size(0) {
+ : device_id_(kInvalidHidDeviceId),
+ vendor_id_(0),
+ product_id_(0),
+ bus_type_(kHIDBusTypeUSB),
+ has_report_id_(false),
+ max_input_report_size_(0),
+ max_output_report_size_(0),
+ max_feature_report_size_(0) {
}
HidDeviceInfo::~HidDeviceInfo() {}
« no previous file with comments | « device/hid/hid_device_info.h ('k') | device/hid/hid_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698