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

Issue 2665493002: Add builders to APDU command class (Closed)

Created:
3 years, 10 months ago by Casey Piper
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add builders to APDU command class Sign, Register and GetVersion APDU messages are defined as part of the FIDO U2f specification. Adding static builder methods for the creation of these messages. R=reillyg@chromium.org BUG=686306 Review-Url: https://codereview.chromium.org/2665493002 Cr-Commit-Position: refs/heads/master@{#447122} Committed: https://chromium.googlesource.com/chromium/src/+/4889a81bbe4d67d614fad10e334a5fc64cd409b7

Patch Set 1 #

Patch Set 2 : Remove unused constant #

Total comments: 16

Patch Set 3 : Add suffix for legacy version case and add additional unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -6 lines) Patch
M device/u2f/u2f_apdu_command.h View 1 2 5 chunks +30 lines, -1 line 0 comments Download
M device/u2f/u2f_apdu_command.cc View 1 2 4 chunks +75 lines, -5 lines 0 comments Download
M device/u2f/u2f_apdu_unittest.cc View 1 2 1 chunk +71 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Casey Piper
Split from https://codereview.chromium.org/2502103002/
3 years, 10 months ago (2017-01-28 00:02:18 UTC) #5
juanlang (chromium.org)
Hi Casey, some nits. https://codereview.chromium.org/2665493002/diff/20001/device/u2f/u2f_apdu_command.cc File device/u2f/u2f_apdu_command.cc (right): https://codereview.chromium.org/2665493002/diff/20001/device/u2f/u2f_apdu_command.cc#newcode151 device/u2f/u2f_apdu_command.cc:151: command->set_data(std::vector<uint8_t>(2, 0)); Comment why two ...
3 years, 10 months ago (2017-01-28 00:08:39 UTC) #6
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2665493002/diff/20001/device/u2f/u2f_apdu_command.cc File device/u2f/u2f_apdu_command.cc (right): https://codereview.chromium.org/2665493002/diff/20001/device/u2f/u2f_apdu_command.cc#newcode131 device/u2f/u2f_apdu_command.cc:131: scoped_refptr<U2fApduCommand> command = U2fApduCommand::Create(); No "U2fApduCommand::" required here and ...
3 years, 10 months ago (2017-01-28 00:29:29 UTC) #7
Casey Piper
https://codereview.chromium.org/2665493002/diff/20001/device/u2f/u2f_apdu_command.cc File device/u2f/u2f_apdu_command.cc (right): https://codereview.chromium.org/2665493002/diff/20001/device/u2f/u2f_apdu_command.cc#newcode131 device/u2f/u2f_apdu_command.cc:131: scoped_refptr<U2fApduCommand> command = U2fApduCommand::Create(); On 2017/01/28 00:29:29, Reilly Grant ...
3 years, 10 months ago (2017-01-30 21:51:41 UTC) #9
Reilly Grant (use Gerrit)
lgtm
3 years, 10 months ago (2017-01-30 22:09:37 UTC) #10
juanlang (chromium.org)
lgtm
3 years, 10 months ago (2017-01-30 23:57:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2665493002/60001
3 years, 10 months ago (2017-01-31 00:06:32 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 00:13:49 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/4889a81bbe4d67d614fad10e334a...

Powered by Google App Engine
This is Rietveld 408576698