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

Unified 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: Give HID API some OWNERS 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 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 34ea68666bf025de8d851b8a554dc5fc5edefd01..7074923414b0f40be2bb8d46ae83a0b4522a861d 100644
--- a/device/hid/hid_device_info.cc
+++ b/device/hid/hid_device_info.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,8 +6,13 @@
namespace device {
+#if !defined(OS_MACOSX)
+const HidDeviceId kInvalidHidDeviceId;
Mark Mentovai 2014/02/26 22:41:04 Whoops, I just realized that this is a static cons
Ken Rockot(use gerrit already) 2014/02/26 22:51:02 Doh. Right. Done.
+#endif
+
HidDeviceInfo::HidDeviceInfo()
- : bus_type(kHIDBusTypeUSB),
+ : device_id(kInvalidHidDeviceId),
+ bus_type(kHIDBusTypeUSB),
vendor_id(0),
product_id(0),
input_report_size(0),
« 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