Index: device/hid/hid_usage_and_page.h |
diff --git a/device/hid/hid_usage_and_page.h b/device/hid/hid_usage_and_page.h |
index 98ac80d6b544b186381049f31799826ef5105d95..635e9b3cc4192b97af09e50889f9352341abdf9a 100644 |
--- a/device/hid/hid_usage_and_page.h |
+++ b/device/hid/hid_usage_and_page.h |
@@ -126,7 +126,8 @@ struct HidUsageAndPage { |
uint16_t usage; |
Page usage_page; |
- bool operator==(const HidUsageAndPage& other) const; |
+ // Indicates whether this usage is protected by Chrome. |
+ bool IsProtected() const; |
}; |
} // namespace device |