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

Unified Diff: device/hid/hid_report_descriptor.h

Issue 492963007: Store HID report sizes as uint16_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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_report_descriptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/hid/hid_report_descriptor.h
diff --git a/device/hid/hid_report_descriptor.h b/device/hid/hid_report_descriptor.h
index b5017b7231f1f24eaa2851b7c7ab00ff4eb32319..1719e94084301605cd222b692d11e6f3c4a6a25e 100644
--- a/device/hid/hid_report_descriptor.h
+++ b/device/hid/hid_report_descriptor.h
@@ -29,9 +29,9 @@ class HidReportDescriptor {
// together with max report sizes
void GetDetails(std::vector<HidCollectionInfo>* top_level_collections,
bool* has_report_id,
- int* max_input_report_size,
- int* max_output_report_size,
- int* max_feature_report_size);
+ uint16_t* max_input_report_size,
+ uint16_t* max_output_report_size,
+ uint16_t* max_feature_report_size);
private:
std::vector<linked_ptr<HidReportDescriptorItem> > items_;
« no previous file with comments | « device/hid/hid_device_info.h ('k') | device/hid/hid_report_descriptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698