Chromium Code Reviews
DescriptionCreate setting that disables password stores
A new setting is implemented, which can be set to prevent
OSCrypt/Password Manager from using a backend (i.e. keyring/kwallet).
Since Password Manager is expected to deprecate its backends, OSCrypt
is given ownership of the setting.
OSCrypt needs to be ready for use during profile initialisation,
therefore profile preferences cannot be used for this setting. The
setting is stored in a file in the chrome's user data directory. It is
implemented as a single empty file, whose presence or absence in the
filesystem defines whether the setting is set to true or false.
Additionally, a new commandline switch is implemented:
--enable-encryption-selection. This controls whether the feature above
will be used. When the feature is disabled, current behaviour is for
Chrome to try and reach the appropriate backend, as determined by the
OS environment.
The --password-store flag overrules both of the above behaviours.
BUG=709096
Review-Url: https://codereview.chromium.org/2948783002
Cr-Commit-Position: refs/heads/master@{#484595}
Committed: https://chromium.googlesource.com/chromium/src/+/6b340f81b25adc1e97c50247aa3bf235eabcbf7e
Patch Set 1 #Patch Set 2 : deps-fix #Patch Set 3 : custom preference file #Patch Set 4 : cleanup #Patch Set 5 : file absence means use backend #Patch Set 6 : tests #Patch Set 7 : lint #
Total comments: 17
Patch Set 8 : nits #Patch Set 9 : nits + tests #Dependent Patchsets: Messages
Total messages: 36 (27 generated)
|