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

Issue 2274693004: Separate credit card scanner from native bridge. (Closed)

Created:
4 years, 4 months ago by please use gerrit instead
Modified:
4 years, 3 months ago
Reviewers:
msw, gone
CC:
chromium-reviews, rouslan+autofill_chromium.org, estade+watch_chromium.org, vabr+watchlistautofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate credit card scanner from native bridge. This patch enables using credit card scanner directly from Java, without jumping to native first. Checking of the "AutofillScanCardholderName" flag has moved into the Java delegate wrapper, so users of this functionality in Java are governed by the same flag, regardless of the implementation. BUG=640430 Committed: https://crrev.com/8bb5bcc3e855e57293999433cab3a1cb8971597b Cr-Commit-Position: refs/heads/master@{#415146}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Always clear the card holder name when feature is disabled, regardless of impl. #

Patch Set 3 : DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -74 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/CreditCardScanner.java View 2 3 chunks +56 lines, -60 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/autofill/CreditCardScannerBridge.java View 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/chrome_feature_list.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc View 1 2 4 chunks +10 lines, -10 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (18 generated)
please use gerrit instead
dfalcantara, ptal.
4 years, 3 months ago (2016-08-25 17:31:45 UTC) #8
gone
lgtm, but it's a little weird that the class names don't line up. Java: CreditCardScanner ...
4 years, 3 months ago (2016-08-26 18:27:07 UTC) #9
please use gerrit instead
On 2016/08/26 18:27:07, dfalcantara wrote: > lgtm, but it's a little weird that the class ...
4 years, 3 months ago (2016-08-26 22:20:09 UTC) #10
please use gerrit instead
msw, owners ptal chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc
4 years, 3 months ago (2016-08-26 22:21:24 UTC) #12
msw
https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc File chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc (left): https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc#oldcode83 chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc:83: if (base::FeatureList::IsEnabled(kAutofillScanCardholderName)) { Where exactly is this checked now? ...
4 years, 3 months ago (2016-08-26 22:37:07 UTC) #13
please use gerrit instead
msw, ptal patch 2. https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc File chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc (left): https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc#oldcode83 chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc:83: if (base::FeatureList::IsEnabled(kAutofillScanCardholderName)) { On 2016/08/26 ...
4 years, 3 months ago (2016-08-29 17:58:31 UTC) #19
msw
https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc File chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc (left): https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc#oldcode83 chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc:83: if (base::FeatureList::IsEnabled(kAutofillScanCardholderName)) { On 2016/08/29 17:58:31, rouslan wrote: > ...
4 years, 3 months ago (2016-08-29 18:19:19 UTC) #20
please use gerrit instead
msw, ptal patch 3. https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc File chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc (left): https://codereview.chromium.org/2274693004/diff/20001/chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc#oldcode83 chrome/browser/ui/android/autofill/credit_card_scanner_view_android.cc:83: if (base::FeatureList::IsEnabled(kAutofillScanCardholderName)) { On 2016/08/29 ...
4 years, 3 months ago (2016-08-29 18:50:49 UTC) #21
msw
chrome/browser/ui lgtm; thanks
4 years, 3 months ago (2016-08-29 18:54:17 UTC) #22
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/2274693004/60001
4 years, 3 months ago (2016-08-29 19:11:24 UTC) #25
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/2274693004/60001
4 years, 3 months ago (2016-08-30 00:53:17 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-08-30 05:18:51 UTC) #29
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 05:22:20 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8bb5bcc3e855e57293999433cab3a1cb8971597b
Cr-Commit-Position: refs/heads/master@{#415146}

Powered by Google App Engine
This is Rietveld 408576698