Change the behavior of password manager setting.
commit63b86691eaf15bb855ae0c19966cb2b78156dbad
authormelandory <melandory@chromium.org>
Tue, 15 Sep 2015 11:41:21 +0000 (15 04:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 15 Sep 2015 11:41:52 +0000 (15 11:41 +0000)
tree16a7b94fa5333349016c0a0c9f00cb1a12c8fd8c
parentb811b7168de721d4463e977bf72bb5a48e7d4b2d
Change the  behavior of password manager setting.

Currently password manager setting controls only saving behavior: when
it's on user is asked if credentials should be saved when it off save
prompt doesn't appear, but already saved credentials are still
filled.

This behavior is changed, so password manager setting is not only
controls saving of the credentials, but also filling, so that when
password manager setting is off credentials won't be filled.

BUG=517087

Review URL: https://codereview.chromium.org/1314903011

Cr-Commit-Position: refs/heads/master@{#348872}
15 files changed:
chrome/browser/password_manager/chrome_password_manager_client.cc
chrome/browser/password_manager/chrome_password_manager_client.h
chrome/browser/password_manager/chrome_password_manager_client_unittest.cc
components/autofill/core/common/save_password_progress_logger.cc
components/password_manager/content/browser/credential_manager_dispatcher.cc
components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc
components/password_manager/core/browser/password_generation_manager.cc
components/password_manager/core/browser/password_generation_manager_unittest.cc
components/password_manager/core/browser/password_manager.cc
components/password_manager/core/browser/password_manager_client.cc
components/password_manager/core/browser/password_manager_client.h
components/password_manager/core/browser/password_manager_settings_migration_experiment.cc
components/password_manager/core/browser/password_manager_settings_migration_experiment.h
components/password_manager/core/browser/password_manager_settings_migration_experiment_unittest.cc
components/password_manager/core/browser/password_manager_unittest.cc