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

Issue 1545683003: Check user state and settings *before* forcing credit card upload on. (Closed)

Created:
5 years ago by Justin Donnelly
Modified:
4 years, 11 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, zkoch1, jstuppy, Evan Stade
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check user state and settings *before* forcing credit card upload on. The command-line flag should enable the feature, not force it on despite the user settings and logged-in state. BUG=571631 Committed: https://crrev.com/9ce4ada90007521f2719d892f1db77bc9ebac2e0 Cr-Commit-Position: refs/heads/master@{#366668}

Patch Set 1 #

Patch Set 2 : Fix crash in tests #

Total comments: 5

Messages

Total messages: 17 (7 generated)
Justin Donnelly
5 years ago (2015-12-22 17:04:39 UTC) #2
Justin Donnelly
5 years ago (2015-12-22 17:59:38 UTC) #5
Ilya Sherman
https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc File components/autofill/core/browser/autofill_experiments.cc (right): https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc#newcode71 components/autofill/core/browser/autofill_experiments.cc:71: } What Finch/variations group do you expect to be ...
5 years ago (2015-12-22 21:32:06 UTC) #6
Justin Donnelly
https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc File components/autofill/core/browser/autofill_experiments.cc (right): https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc#newcode71 components/autofill/core/browser/autofill_experiments.cc:71: } On 2015/12/22 21:32:05, Ilya Sherman wrote: > What ...
5 years ago (2015-12-22 21:38:29 UTC) #7
Ilya Sherman
LGTM https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc File components/autofill/core/browser/autofill_experiments.cc (right): https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc#newcode71 components/autofill/core/browser/autofill_experiments.cc:71: } On 2015/12/22 21:38:29, Justin Donnelly wrote: > ...
5 years ago (2015-12-22 21:52:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1545683003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1545683003/20001
5 years ago (2015-12-22 22:10:31 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-22 22:15:18 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9ce4ada90007521f2719d892f1db77bc9ebac2e0 Cr-Commit-Position: refs/heads/master@{#366668}
5 years ago (2015-12-22 22:16:33 UTC) #14
Evan Stade
lgtm https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc File components/autofill/core/browser/autofill_experiments.cc (right): https://codereview.chromium.org/1545683003/diff/20001/components/autofill/core/browser/autofill_experiments.cc#newcode79 components/autofill/core/browser/autofill_experiments.cc:79: if (base::CommandLine::ForCurrentProcess()->HasSwitch( this one can still be above
4 years, 11 months ago (2015-12-29 17:46:44 UTC) #16
Justin Donnelly
4 years, 11 months ago (2015-12-29 18:35:19 UTC) #17
Message was sent while issue was closed.
https://codereview.chromium.org/1545683003/diff/20001/components/autofill/cor...
File components/autofill/core/browser/autofill_experiments.cc (right):

https://codereview.chromium.org/1545683003/diff/20001/components/autofill/cor...
components/autofill/core/browser/autofill_experiments.cc:79: if
(base::CommandLine::ForCurrentProcess()->HasSwitch(
On 2015/12/29 17:46:44, Evan Stade wrote:
> this one can still be above

True. But I prefer to keep it with the other command-line check for readability.

Powered by Google App Engine
This is Rietveld 408576698