commit | 6b74752858c9da77cf8b4ec305e5e82a1fbebfee | [log] [tgz] |
---|---|---|
author | Etienne Pierre-doray <etiennep@chromium.org> | Thu Jul 19 23:05:13 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 19 23:05:13 2018 |
tree | d99309c0596bcd2528f5aefe76eb2c53d8d207cc | |
parent | 7d9dcdd425c525414bc10be10fa57ed61046d1c0 [diff] |
[Autofill]: Add profile and payment methods toggle buttons in settings/autofill. Both AutofillProfileEnabled and AutofillCreditCardEnabled are preferences that can't be modified by the user. This CL adds a toggle button for each one of them in settings/autofill. These flags do not delete existing data, therefore we don't want addresses and payment methods to disapear when toggling the flag. To fix that, this CL moves enabling logic from PersonalDataManager::Get[Profiles/CreditCards]() to PersonalDataManager::Get[Profiles/CreditCards]ToSuggest() Bug: 860526 Tbr: eugenebut@ Cq-Include-Trybots: luci.chromium.try:closure_compilation;luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I03f6e16294ae2a07da854c4d276e95f1a47ebbc0 Reviewed-on: https://chromium-review.googlesource.com/1129471 Commit-Queue: Etienne Pierre-Doray <etiennep@chromium.org> Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by: Moe Ahmadi <mahmadi@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by: Sebastien Seguin-Gagnon <sebsg@chromium.org> Cr-Commit-Position: refs/heads/master@{#576679}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .