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

Issue 2676513007: Do not show Scan or Sign In options when credit card form is non-secure (Closed)

Created:
3 years, 10 months ago by elawrence
Modified:
3 years, 10 months ago
Reviewers:
Mathieu
CC:
chromium-reviews, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not show Scan or Sign In options when credit card form is non-secure Credit card autofill logic may offer "Scan credit card" and "Sign in to Chrome to use cards from your Google account" options when filling out a credit card form. These options should not be shown when the form is not secure. We instead notify users that non-secure forms will not autofill. BUG=688461 Review-Url: https://codereview.chromium.org/2676513007 Cr-Commit-Position: refs/heads/master@{#448870} Committed: https://chromium.googlesource.com/chromium/src/+/a0cab13ed385f0c524f29e279b2874677872bcdf

Patch Set 1 #

Patch Set 2 : Simplify logic #

Total comments: 6

Patch Set 3 : Add unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -5 lines) Patch
M components/autofill/core/browser/autofill_manager.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 4 chunks +13 lines, -5 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 1 chunk +60 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
elawrence
PTAL?
3 years, 10 months ago (2017-02-03 22:10:29 UTC) #6
Mathieu
Sorry for the delay. Thanks for the cleanup/fix https://codereview.chromium.org/2676513007/diff/20001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2676513007/diff/20001/components/autofill/core/browser/autofill_manager.cc#newcode536 components/autofill/core/browser/autofill_manager.cc:536: bool ...
3 years, 10 months ago (2017-02-06 18:16:41 UTC) #7
Mathieu
https://codereview.chromium.org/2676513007/diff/20001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2676513007/diff/20001/components/autofill/core/browser/autofill_manager.cc#newcode325 components/autofill/core/browser/autofill_manager.cc:325: bool AutofillManager::ShouldShowCreditCardSigninPromo( also see if the unit test for ...
3 years, 10 months ago (2017-02-06 18:21:26 UTC) #8
elawrence
Addressed feedback and added tests. Please have another look? thanks! https://codereview.chromium.org/2676513007/diff/20001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2676513007/diff/20001/components/autofill/core/browser/autofill_manager.cc#newcode325 ...
3 years, 10 months ago (2017-02-07 20:16:48 UTC) #10
Mathieu
Thanks for adding the tests! lgtm
3 years, 10 months ago (2017-02-08 00:53:12 UTC) #11
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/2676513007/60001
3 years, 10 months ago (2017-02-08 01:38:52 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 02:41:47 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/a0cab13ed385f0c524f29e279b28...

Powered by Google App Engine
This is Rietveld 408576698