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

Issue 513013003: Add unit tests for easyUnlockPrivate API - crypto methods (Closed)

Created:
6 years, 3 months ago by tbarzic
Modified:
6 years, 3 months ago
Reviewers:
Tim Song, satorux1
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add unit tests for easyUnlockPrivate API - crypto methods Also, adds some logic to FakeEasyUnlockClient. BUG=407996 (note that these would have caught the crashes in bugs 404798 and 405976 :/) Committed: https://crrev.com/90148379eb43c46fbd6c6923c6cfa83d0d6465b1 Cr-Commit-Position: refs/heads/master@{#292692}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 21

Patch Set 5 : . #

Patch Set 6 : , #

Total comments: 2

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 4

Patch Set 9 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+751 lines, -5 lines) Patch
A chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc View 1 2 3 4 5 6 7 1 chunk +380 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_easy_unlock_client.h View 1 3 chunks +9 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_easy_unlock_client.cc View 1 2 3 4 5 6 7 8 2 chunks +107 lines, -3 lines 0 comments Download
A chromeos/dbus/fake_easy_unlock_client_unittest.cc View 1 2 3 4 5 1 chunk +253 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (1 generated)
tbarzic
tbarzic@chromium.org changed reviewers: + tengs@chromium.org
6 years, 3 months ago (2014-08-28 18:36:28 UTC) #1
tbarzic
6 years, 3 months ago (2014-08-28 18:36:28 UTC) #2
tbarzic
tbarzic@chromium.org changed reviewers: + satorux@chromium.org
6 years, 3 months ago (2014-08-29 00:36:52 UTC) #3
tbarzic
adding Satoru for OWNER approval in chromeos/
6 years, 3 months ago (2014-08-29 00:36:52 UTC) #4
satorux1
Will take a look now. Meanwhile, could you test if the ASAN browser_tests can detect ...
6 years, 3 months ago (2014-08-29 00:56:00 UTC) #5
tbarzic
On 2014/08/29 00:56:00, satorux1 wrote: > Will take a look now. Meanwhile, could you test ...
6 years, 3 months ago (2014-08-29 00:57:11 UTC) #6
satorux1
https://codereview.chromium.org/513013003/diff/60001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc File chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc (right): https://codereview.chromium.org/513013003/diff/60001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc#newcode26 chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc:26: base::BinaryValue* StringToBinaryValue(const std::string value) { function comment is missing. ...
6 years, 3 months ago (2014-08-29 01:10:50 UTC) #7
satorux1
On 2014/08/29 00:57:11, tbarzic wrote: > On 2014/08/29 00:56:00, satorux1 wrote: > > Will take ...
6 years, 3 months ago (2014-08-29 01:11:22 UTC) #8
tbarzic
https://codereview.chromium.org/513013003/diff/60001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc File chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc (right): https://codereview.chromium.org/513013003/diff/60001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc#newcode26 chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc:26: base::BinaryValue* StringToBinaryValue(const std::string value) { On 2014/08/29 01:10:49, satorux1 ...
6 years, 3 months ago (2014-08-29 02:47:05 UTC) #9
satorux1
lgtm, but please have this reviewed by tengs@ too as I'm not very familiar with ...
6 years, 3 months ago (2014-08-29 03:48:14 UTC) #10
tbarzic
https://codereview.chromium.org/513013003/diff/60001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc File chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc (right): https://codereview.chromium.org/513013003/diff/60001/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc#newcode74 chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api_chromeos_unittest.cc:74: result_binary_value->GetSize()); On 2014/08/29 03:48:14, satorux1 wrote: > On 2014/08/29 ...
6 years, 3 months ago (2014-08-29 04:30:27 UTC) #11
Tim Song
lgtm https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc File chromeos/dbus/fake_easy_unlock_client.cc (right): https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc#newcode89 chromeos/dbus/fake_easy_unlock_client.cc:89: "{\"secret_key\": [%d, %d]}", Why not just [private_key, public_key]? ...
6 years, 3 months ago (2014-08-29 17:38:58 UTC) #12
tbarzic
https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc File chromeos/dbus/fake_easy_unlock_client.cc (right): https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc#newcode89 chromeos/dbus/fake_easy_unlock_client.cc:89: "{\"secret_key\": [%d, %d]}", On 2014/08/29 17:38:58, Tim Song wrote: ...
6 years, 3 months ago (2014-08-29 17:43:39 UTC) #13
Tim Song
https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc File chromeos/dbus/fake_easy_unlock_client.cc (right): https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc#newcode89 chromeos/dbus/fake_easy_unlock_client.cc:89: "{\"secret_key\": [%d, %d]}", On 2014/08/29 17:43:39, tbarzic wrote: > ...
6 years, 3 months ago (2014-08-29 17:46:00 UTC) #14
tbarzic
https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc File chromeos/dbus/fake_easy_unlock_client.cc (right): https://codereview.chromium.org/513013003/diff/140001/chromeos/dbus/fake_easy_unlock_client.cc#newcode89 chromeos/dbus/fake_easy_unlock_client.cc:89: "{\"secret_key\": [%d, %d]}", On 2014/08/29 17:46:00, Tim Song wrote: ...
6 years, 3 months ago (2014-08-29 18:29:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/513013003/160001
6 years, 3 months ago (2014-08-29 18:31:20 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 9ce8aeb520eaf6224a4508b4ef2534ad7a3e567c
6 years, 3 months ago (2014-08-29 22:30:19 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:10:51 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/90148379eb43c46fbd6c6923c6cfa83d0d6465b1
Cr-Commit-Position: refs/heads/master@{#292692}

Powered by Google App Engine
This is Rietveld 408576698