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

Unified Diff: device/hid/hid_usage_and_page.h

Issue 317783010: chrome.hid: enrich model with report IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enrich JavaScript model (no incoming report filter) Created 6 years, 6 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
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..2d81ec2f37e33058f68f7e90d6d7a456ad9da2eb 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;
+ // Such usages can raise security or privacy concerns.
Ken Rockot(use gerrit already) 2014/06/06 20:04:44 Function docs should be third-person declarative s
jracle (use Gerrit) 2014/06/07 12:56:22 Got it. On 2014/06/06 20:04:44, Ken Rockot wrote:
+ bool IsSensitive() const;
Ken Rockot(use gerrit already) 2014/06/06 20:04:44 How about IsProtected()
jracle (use Gerrit) 2014/06/07 12:56:22 I'll rename with you proposal. Understand mine is
};
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698