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

Issue 12893007: Implementing VERIFY_CVV required action. (Closed)

Created:
7 years, 9 months ago by Dan Beam
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Raman Kakilate, tfarina, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Implementing VERIFY_CVV required action. BUG=168673 TEST=unit tests and manual testing NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191752

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 12

Patch Set 6 : ahutter@ review #

Patch Set 7 : ahutter@ review #

Total comments: 12

Patch Set 8 : . #

Patch Set 9 : . #

Total comments: 4

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : . #

Total comments: 10

Patch Set 15 : . #

Patch Set 16 : . #

Total comments: 4

Patch Set 17 : . #

Total comments: 8

Patch Set 18 : . #

Total comments: 4

Patch Set 19 : . #

Patch Set 20 : . #

Patch Set 21 : . #

Total comments: 4

Patch Set 22 : fixing tests #

Total comments: 2

Patch Set 23 : merge #

Patch Set 24 : . #

Patch Set 25 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -177 lines) Patch
M chrome/app/generated_resources.grd View 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/ui/android/autofill/autofill_dialog_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 6 chunks +22 lines, -6 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 18 chunks +184 lines, -93 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 10 chunks +89 lines, -11 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_types.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper.h View 1 2 3 4 5 6 7 8 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/data_model_wrapper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 14 chunks +47 lines, -34 lines 0 comments Download
M components/autofill/browser/credit_card.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/browser/credit_card.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +24 lines, -19 lines 0 comments Download
M components/autofill/browser/wallet/wallet_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +6 lines, -5 lines 0 comments Download
M components/autofill/browser/wallet/wallet_items.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -0 lines 0 comments Download
M components/autofill/browser/wallet/wallet_items.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
Dan Beam
estade@: chrome/browser/ui/autofill isherman@: components/autofill/browser
7 years, 9 months ago (2013-03-26 01:46:25 UTC) #1
Dan Beam
note: there are test, forgot to update description
7 years, 9 months ago (2013-03-26 01:46:57 UTC) #2
Dan Beam
tests**
7 years, 9 months ago (2013-03-26 01:47:05 UTC) #3
ahutter
https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/app/generated_resources.grd#newcode10743 chrome/app/generated_resources.grd:10743: + <message name="IDS_AUTOFILL_DIALOG_DETAILS_FROM_WALLET" desc="Text explaining where the dialog got ...
7 years, 9 months ago (2013-03-26 15:27:09 UTC) #4
Dan Beam
https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1062 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1062: if (dialog_type_ == DIALOG_TYPE_AUTOCHECKOUT) { On 2013/03/26 15:27:09, ahutter ...
7 years, 9 months ago (2013-03-26 18:03:14 UTC) #5
ahutter
https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1062 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1062: if (dialog_type_ == DIALOG_TYPE_AUTOCHECKOUT) { On 2013/03/26 18:03:14, Dan ...
7 years, 9 months ago (2013-03-26 18:08:24 UTC) #6
Dan Beam
https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/13001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1062 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1062: if (dialog_type_ == DIALOG_TYPE_AUTOCHECKOUT) { On 2013/03/26 18:08:24, ahutter ...
7 years, 9 months ago (2013-03-26 19:03:19 UTC) #7
Evan Stade
https://chromiumcodereview.appspot.com/12893007/diff/15003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/15003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1063 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1063: did_submit_ = true; this variable name no longer matches ...
7 years, 9 months ago (2013-03-26 19:29:54 UTC) #8
ahutter
https://chromiumcodereview.appspot.com/12893007/diff/15003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/15003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1779 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1779: case DIALOG_TYPE_AUTOCHECKOUT: On 2013/03/26 19:03:20, Dan Beam wrote: > ...
7 years, 9 months ago (2013-03-26 19:47:06 UTC) #9
Dan Beam
https://chromiumcodereview.appspot.com/12893007/diff/15003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/15003/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1063 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1063: did_submit_ = true; On 2013/03/26 19:29:54, Evan Stade wrote: ...
7 years, 9 months ago (2013-03-27 00:38:26 UTC) #10
Evan Stade
lgtm with 2 comments https://codereview.chromium.org/12893007/diff/28001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/12893007/diff/28001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode1137 chrome/browser/ui/views/autofill/autofill_dialog_views.cc:1137: group.container->Refresh(); I think you can ...
7 years, 9 months ago (2013-03-27 02:39:38 UTC) #11
Dan Beam
https://codereview.chromium.org/12893007/diff/28001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/12893007/diff/28001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode1137 chrome/browser/ui/views/autofill/autofill_dialog_views.cc:1137: group.container->Refresh(); On 2013/03/27 02:39:38, Evan Stade wrote: > I ...
7 years, 9 months ago (2013-03-27 02:50:36 UTC) #12
Ilya Sherman
https://chromiumcodereview.appspot.com/12893007/diff/43017/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/43017/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1112 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1112: AutofillMetrics::DIALOG_ACCEPTED); Should we log the metric now, or after ...
7 years, 9 months ago (2013-03-27 23:59:23 UTC) #13
Dan Beam
https://codereview.chromium.org/12893007/diff/43017/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/43017/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode1112 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:1112: AutofillMetrics::DIALOG_ACCEPTED); On 2013/03/27 23:59:23, Ilya Sherman wrote: > Should ...
7 years, 9 months ago (2013-03-28 03:38:12 UTC) #14
Ilya Sherman
https://codereview.chromium.org/12893007/diff/59001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/59001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode506 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:506: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; Hrm, I think you've just globally ...
7 years, 9 months ago (2013-03-28 05:28:56 UTC) #15
Dan Beam
https://codereview.chromium.org/12893007/diff/59001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/59001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode506 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:506: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; On 2013/03/28 05:28:57, Ilya Sherman wrote: ...
7 years, 9 months ago (2013-03-29 00:43:10 UTC) #16
Dan Beam
+sky@ for chrome/browser/ui/views
7 years, 9 months ago (2013-03-29 00:47:12 UTC) #17
Ilya Sherman
https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:505: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; Autocheckout can get a Risk challenge ...
7 years, 9 months ago (2013-03-29 00:54:04 UTC) #18
Dan Beam
https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:505: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; On 2013/03/29 00:54:04, Ilya Sherman wrote: ...
7 years, 9 months ago (2013-03-29 04:39:49 UTC) #19
Ilya Sherman
https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:505: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; On 2013/03/29 04:39:49, Dan Beam wrote: ...
7 years, 9 months ago (2013-03-29 08:05:52 UTC) #20
Dan Beam
https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:505: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; On 2013/03/29 08:05:52, Ilya Sherman wrote: ...
7 years, 8 months ago (2013-03-29 09:03:33 UTC) #21
Dan Beam
https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode503 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:503: // while Autocheckout is in progress. ^ and this ...
7 years, 8 months ago (2013-03-29 09:08:43 UTC) #22
sky
LGTM
7 years, 8 months ago (2013-03-29 15:35:56 UTC) #23
Evan Stade
https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode1092 chrome/browser/ui/views/autofill/autofill_dialog_views.cc:1092: controller_->IsSubmitPausedOn(wallet::VERIFY_CVV))) { I think this logic should move to ...
7 years, 8 months ago (2013-03-29 20:50:07 UTC) #24
Dan Beam
https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode1092 chrome/browser/ui/views/autofill/autofill_dialog_views.cc:1092: controller_->IsSubmitPausedOn(wallet::VERIFY_CVV))) { On 2013/03/29 20:50:08, Evan Stade wrote: > ...
7 years, 8 months ago (2013-03-29 21:00:32 UTC) #25
Ilya Sherman
https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:505: dialog_type_ == DIALOG_TYPE_REQUEST_AUTOCOMPLETE; On 2013/03/29 09:03:33, Dan Beam wrote: ...
7 years, 8 months ago (2013-03-29 21:33:05 UTC) #26
Dan Beam
https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc File chrome/browser/ui/views/autofill/autofill_dialog_views.cc (right): https://codereview.chromium.org/12893007/diff/79001/chrome/browser/ui/views/autofill/autofill_dialog_views.cc#newcode1092 chrome/browser/ui/views/autofill/autofill_dialog_views.cc:1092: controller_->IsSubmitPausedOn(wallet::VERIFY_CVV))) { On 2013/03/29 20:50:08, Evan Stade wrote: > ...
7 years, 8 months ago (2013-03-29 23:50:09 UTC) #27
Dan Beam
see if the updated logic works for you https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/67001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode505 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:505: dialog_type_ ...
7 years, 8 months ago (2013-03-30 01:28:15 UTC) #28
Ilya Sherman
https://codereview.chromium.org/12893007/diff/106001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://codereview.chromium.org/12893007/diff/106001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode511 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:511: return true; It doesn't seem like you should need ...
7 years, 8 months ago (2013-03-31 06:04:36 UTC) #29
Dan Beam
https://chromiumcodereview.appspot.com/12893007/diff/106001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/106001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode511 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:511: return true; On 2013/03/31 06:04:37, Ilya Sherman wrote: > ...
7 years, 8 months ago (2013-04-01 22:17:23 UTC) #30
Ilya Sherman
https://chromiumcodereview.appspot.com/12893007/diff/115001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/115001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode510 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:510: return !callback_.is_null(); ... but you should keep the had_autocheckout_error_ ...
7 years, 8 months ago (2013-04-01 22:55:02 UTC) #31
Dan Beam
https://chromiumcodereview.appspot.com/12893007/diff/115001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc File chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc (right): https://chromiumcodereview.appspot.com/12893007/diff/115001/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc#newcode510 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc:510: return !callback_.is_null(); On 2013/04/01 22:55:03, Ilya Sherman wrote: > ...
7 years, 8 months ago (2013-04-01 23:08:38 UTC) #32
Ilya Sherman
LGTM
7 years, 8 months ago (2013-04-01 23:18:20 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/12893007/123001
7 years, 8 months ago (2013-04-01 23:44:41 UTC) #34
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=129814
7 years, 8 months ago (2013-04-02 01:37:35 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/12893007/132001
7 years, 8 months ago (2013-04-02 03:16:29 UTC) #36
commit-bot: I haz the power
7 years, 8 months ago (2013-04-02 03:19:11 UTC) #37
Message was sent while issue was closed.
Change committed as 191752

Powered by Google App Engine
This is Rietveld 408576698