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

Issue 756333003: Prompt for unmasking Wallet credit card on Android (Closed)

Created:
6 years ago by Evan Stade
Modified:
6 years ago
CC:
chromium-reviews, benquan, browser-components-watch_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, klundberg+watch_chromium.org, Ilya Sherman, jbudorick+watch_chromium.org, rouslan+autofillwatch_chromium.org, yfriedman+watch_chromium.org, brettw
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Prompt for unmasking Wallet credit card on Android Bare-bones implementation. enable with new flag --enable-wallet-card-import. BUG=437116 Committed: https://crrev.com/ecb659dff3cdc827b6228a61d05d0e3bb66cf969 Cr-Commit-Position: refs/heads/master@{#307854}

Patch Set 1 #

Patch Set 2 : it's alive #

Patch Set 3 : merge conflicts #

Total comments: 4

Patch Set 4 : self review #

Patch Set 5 : git add forgotten file #

Patch Set 6 : fix non-Android compile #

Patch Set 7 : rejigger ownership #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : fix test compile #

Patch Set 11 : histogram update #

Patch Set 12 : rebase #

Patch Set 13 : fix AW #

Total comments: 17

Patch Set 14 : rename #

Total comments: 2

Patch Set 15 : fix compile and docs #

Total comments: 6

Patch Set 16 : tedc review #

Patch Set 17 : rebase #

Patch Set 18 : fix compile post-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+426 lines, -11 lines) Patch
M android_webview/native/aw_autofill_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/native/aw_autofill_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/autofill/card_unmask_prompt_view_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +56 lines, -0 lines 0 comments Download
A chrome/browser/ui/autofill/card_unmask_prompt_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/ui/autofill/card_unmask_prompt_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +23 lines, -10 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_external_delegate.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M components/autofill/core/browser/popup_item_ids.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/test_autofill_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/test_autofill_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/common/autofill_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/common/autofill_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download
A ui/android/java/res/layout/autofill_card_unmask_prompt.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +37 lines, -0 lines 0 comments Download
A ui/android/java/src/org/chromium/ui/autofill/CardUnmaskPrompt.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +71 lines, -0 lines 0 comments Download
M ui/android/java/strings/android_ui_strings.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (13 generated)
Evan Stade
This could probably be reviewed and committed after a little more cleanup. It's rough, but ...
6 years ago (2014-11-27 01:42:02 UTC) #1
please use gerrit instead
https://codereview.chromium.org/756333003/diff/40001/ui/android/java/strings/android_ui_strings.grd File ui/android/java/strings/android_ui_strings.grd (right): https://codereview.chromium.org/756333003/diff/40001/ui/android/java/strings/android_ui_strings.grd#newcode225 ui/android/java/strings/android_ui_strings.grd:225: </message> If you want to use he same strings ...
6 years ago (2014-11-28 20:55:56 UTC) #3
please use gerrit instead
InstrumentInmassPrompt.java should probably be in: chrome/android/java/src/org/chromium/chrome/browser/autofill/ (instrument_unmask_prompt.xml should be in chrome/android/java/res/layout)
6 years ago (2014-11-28 21:02:09 UTC) #5
please use gerrit instead
https://codereview.chromium.org/756333003/diff/40001/components/autofill/core/browser/popup_item_ids.h File components/autofill/core/browser/popup_item_ids.h (right): https://codereview.chromium.org/756333003/diff/40001/components/autofill/core/browser/popup_item_ids.h#newcode22 components/autofill/core/browser/popup_item_ids.h:22: POPUP_ITEM_ID_FAKE_MASKED_INSTRUMENT = -9, If there're multiple fake masked instruments, ...
6 years ago (2014-11-28 21:07:46 UTC) #7
Evan Stade
On 2014/11/28 21:02:09, Rouslan Solomakhin wrote: > InstrumentInmassPrompt.java should probably be in: > > chrome/android/java/src/org/chromium/chrome/browser/autofill/ ...
6 years ago (2014-12-01 21:36:24 UTC) #9
Evan Stade
Ted, Ruslan, please review. Background: the UI for this feature is not finalized, and the ...
6 years ago (2014-12-01 21:50:04 UTC) #11
Evan Stade
ping tedchoc and aruslan
6 years ago (2014-12-03 17:08:23 UTC) #12
aruslan
On 2014/12/03 17:08:23, Evan Stade wrote: > ping tedchoc and aruslan Hi Evan -- I'm ...
6 years ago (2014-12-03 23:37:11 UTC) #13
aruslan
Replacing myself with aurimas@ as a AutofillPopupBridge owner. https://codereview.chromium.org/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java (right): https://codereview.chromium.org/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java#newcode35 chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java:35: dismissed(new ...
6 years ago (2014-12-04 00:15:48 UTC) #15
Ted C
Per our offline discussion, I think Instrument is a horrendous name. We discussed adding the ...
6 years ago (2014-12-04 00:53:30 UTC) #16
Ted C
https://chromiumcodereview.appspot.com/756333003/diff/240001/ui/android/java/src/org/chromium/ui/autofill/InstrumentUnmaskPrompt.java File ui/android/java/src/org/chromium/ui/autofill/InstrumentUnmaskPrompt.java (right): https://chromiumcodereview.appspot.com/756333003/diff/240001/ui/android/java/src/org/chromium/ui/autofill/InstrumentUnmaskPrompt.java#newcode29 ui/android/java/src/org/chromium/ui/autofill/InstrumentUnmaskPrompt.java:29: public void dismissed(String response); no need for public as ...
6 years ago (2014-12-04 00:55:39 UTC) #17
Ted C
https://chromiumcodereview.appspot.com/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java (right): https://chromiumcodereview.appspot.com/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java#newcode20 chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java:20: public class InstrumentUnmaskBridge implements InstrumentUnmaskPromptDelegate { On 2014/12/04 00:53:29, ...
6 years ago (2014-12-04 00:57:17 UTC) #18
Evan Stade
renamed Instrument to Card https://codereview.chromium.org/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java (right): https://codereview.chromium.org/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java#newcode35 chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java:35: dismissed(new String()); On 2014/12/04 00:15:47, ...
6 years ago (2014-12-05 03:46:22 UTC) #19
Evan Stade
On 2014/12/05 03:46:22, Evan Stade wrote: > renamed Instrument to Card > > https://codereview.chromium.org/756333003/diff/240001/chrome/android/java/src/org/chromium/chrome/browser/autofill/InstrumentUnmaskBridge.java > ...
6 years ago (2014-12-08 18:44:07 UTC) #20
aurimas (slooooooooow)
Java and JNI bits LGTM https://codereview.chromium.org/756333003/diff/260001/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java (right): https://codereview.chromium.org/756333003/diff/260001/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java#newcode50 chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java:50: mCardUnmaskPrompt = null; This ...
6 years ago (2014-12-10 00:49:24 UTC) #22
Evan Stade
https://codereview.chromium.org/756333003/diff/260001/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java File chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java (right): https://codereview.chromium.org/756333003/diff/260001/chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java#newcode50 chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskBridge.java:50: mCardUnmaskPrompt = null; On 2014/12/10 00:49:23, aurimas wrote: > ...
6 years ago (2014-12-10 01:25:57 UTC) #23
Evan Stade
+sgurun for AW +isherman for histograms.xml
6 years ago (2014-12-10 01:46:07 UTC) #25
Ilya Sherman
histograms.xml lgtm
6 years ago (2014-12-10 02:09:39 UTC) #26
Ted C
lgtm https://codereview.chromium.org/756333003/diff/280001/chrome/browser/android/chrome_jni_registrar.cc File chrome/browser/android/chrome_jni_registrar.cc (right): https://codereview.chromium.org/756333003/diff/280001/chrome/browser/android/chrome_jni_registrar.cc#newcode164 chrome/browser/android/chrome_jni_registrar.cc:164: {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, reorder this one now https://codereview.chromium.org/756333003/diff/280001/chrome/browser/ui/autofill/chrome_autofill_client.h File ...
6 years ago (2014-12-10 22:05:00 UTC) #27
sgurun-gerrit only
On 2014/12/10 22:05:00, Ted C wrote: > lgtm > > https://codereview.chromium.org/756333003/diff/280001/chrome/browser/android/chrome_jni_registrar.cc > File chrome/browser/android/chrome_jni_registrar.cc (right): ...
6 years ago (2014-12-10 22:09:04 UTC) #28
Evan Stade
https://codereview.chromium.org/756333003/diff/280001/chrome/browser/android/chrome_jni_registrar.cc File chrome/browser/android/chrome_jni_registrar.cc (right): https://codereview.chromium.org/756333003/diff/280001/chrome/browser/android/chrome_jni_registrar.cc#newcode164 chrome/browser/android/chrome_jni_registrar.cc:164: {"CardUnmaskPrompt", autofill::CardUnmaskPromptViewAndroid::Register}, On 2014/12/10 22:04:59, Ted C wrote: > ...
6 years ago (2014-12-10 23:46:21 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/756333003/300001
6 years ago (2014-12-10 23:48:11 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/102668) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/92638) android_aosp ...
6 years ago (2014-12-10 23:53:59 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/756333003/320001
6 years ago (2014-12-11 01:05:59 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/102722) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/92681) linux_chromium_chromeos_compile_dbg_ng ...
6 years ago (2014-12-11 01:30:27 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/756333003/340001
6 years ago (2014-12-11 02:09:17 UTC) #39
commit-bot: I haz the power
Committed patchset #18 (id:340001)
6 years ago (2014-12-11 03:53:39 UTC) #40
commit-bot: I haz the power
6 years ago (2014-12-11 03:54:29 UTC) #41
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/ecb659dff3cdc827b6228a61d05d0e3bb66cf969
Cr-Commit-Position: refs/heads/master@{#307854}

Powered by Google App Engine
This is Rietveld 408576698