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

Unified Diff: device/u2f/u2f_hid_device.cc

Issue 2835133003: Reland of Add U2F request state machines (Closed)
Patch Set: Initialize variable Created 3 years, 8 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/u2f/u2f_device.cc ('k') | device/u2f/u2f_register.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/u2f/u2f_hid_device.cc
diff --git a/device/u2f/u2f_hid_device.cc b/device/u2f/u2f_hid_device.cc
index 62eda924f55c390d157d72e9a2d1e3b143001880..64f446d4d9aa788acfc9d5b589637bfcef452678 100644
--- a/device/u2f/u2f_hid_device.cc
+++ b/device/u2f/u2f_hid_device.cc
@@ -26,6 +26,7 @@ U2fHidDevice::U2fHidDevice(scoped_refptr<HidDeviceInfo> device_info)
device_info_(device_info),
weak_factory_(this) {
channel_id_ = kBroadcastChannel;
+ capabilities_ = 0;
Reilly Grant (use Gerrit) 2017/04/24 21:07:49 nit: combine these lines with the initialization o
Casey Piper 2017/04/24 21:21:23 Since the variables are from the base class, is th
Reilly Grant (use Gerrit) 2017/04/24 21:38:37 Oh, I didn't realize they were in the base class.
Casey Piper 2017/04/24 22:52:53 Done.
}
U2fHidDevice::~U2fHidDevice() {
« no previous file with comments | « device/u2f/u2f_device.cc ('k') | device/u2f/u2f_register.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698