diff options
Diffstat (limited to 'chromium/device/hid/hid_usage_and_page.cc')
-rw-r--r-- | chromium/device/hid/hid_usage_and_page.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/device/hid/hid_usage_and_page.cc b/chromium/device/hid/hid_usage_and_page.cc new file mode 100644 index 00000000000..773346b7a5b --- /dev/null +++ b/chromium/device/hid/hid_usage_and_page.cc @@ -0,0 +1,13 @@ +// 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. + +#include "device/hid/hid_usage_and_page.h" + +namespace device { + +bool HidUsageAndPage::operator==(const HidUsageAndPage& other) const { + return usage == other.usage && usage_page == other.usage_page; +} + +} // namespace device |