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

Issue 19775014: [Passwords, Mac] Don't always prompt to access passwords saved by other browsers (Closed)

Created:
7 years, 5 months ago by Ilya Sherman
Modified:
7 years ago
Reviewers:
stuartmorgan
CC:
chromium-reviews
Visibility:
Public.

Description

[Passwords, Mac] Don't always prompt to access passwords saved by other browsers Specifically, disable the prompts when Chrome password management is disabled. This gives users an escape hatch other than clicking "Always allow" or always clicking "Deny" for each password prompt when they have passwords saved from other browsers, especially if they don't want Chrome to access these. This previously regressed with https://chromiumcodereview.appspot.com/11361142/ BUG=178358 TEST= 1. In *Safari*, navigate to a login page for which you can save a password. 2. Log in, and instruct Safari to save the password. 3. In *Chrome*, under Advanced Settings, disable password management. 4. Navigate to the same login page. At step (4), there should be no prompt for authorization to access the password saved in Safari. R=stuartmorgan@chromium.org

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -41 lines) Patch
M chrome/browser/password_manager/password_form_manager.h View 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_form_manager.cc View 1 chunk +3 lines, -6 lines 1 comment Download
M chrome/browser/password_manager/password_manager.cc View 2 chunks +6 lines, -1 line 1 comment Download
M chrome/browser/password_manager/password_store.h View 3 chunks +14 lines, -3 lines 1 comment Download
M chrome/browser/password_manager/password_store.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_default.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_default.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 8 chunks +99 lines, -17 lines 1 comment Download
M chrome/browser/password_manager/password_store_mac_internal.h View 3 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_win.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_x.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_x.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Ilya Sherman
Stuart, this CL is still a work in progress, but I wanted to get your ...
7 years, 5 months ago (2013-07-19 05:03:04 UTC) #1
Ilya Sherman
Note to self: It might be possible to greatly simplify this CL by leveraging MacKeychainPasswordFormAdapter:: ...
7 years, 5 months ago (2013-07-27 00:02:30 UTC) #2
stuartmorgan
Sorry for the delay, this pretty much LG, but a couple questions. As for FindOnlyOwned, ...
7 years, 3 months ago (2013-08-29 20:39:54 UTC) #3
Raghu Simha
7 years, 3 months ago (2013-08-30 01:23:21 UTC) #4
On 2013/07/27 00:02:30, Ilya Sherman wrote:
> Note to self: It might be possible to greatly simplify this CL by leveraging
> MacKeychainPasswordFormAdapter:: SetFindsOnlyOwnedItems().

On 2013/08/29 20:39:54, stuartmorgan wrote:
> As for FindOnlyOwned, I'd rather you stick with the code here. If someone has
> authorized an item created by another browser, we shouldn't exclude it in the
> no-prompt case; that would be simpler code, but it would be an approximation
of
> the documented effect.

I noticed a variant of this issue while I was experimenting with a way to speed
up password model association for sync in
https://codereview.chromium.org/23477015. When I tried loading passwords from
the keychain after calling
MacKeychainPasswordFormAdapter::SetFindsOnlyOwnedItems(true), only a subset of
chrome's synced passwords were returned, because some of them had been added to
the keychain by Google Chrome and some others by Chromium.

Powered by Google App Engine
This is Rietveld 408576698