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

Issue 1785273002: CREDENTIAL: Persist PasswordForm's primary key through CredentialInfo. (Closed)

Created:
4 years, 9 months ago by Mike West
Modified:
4 years, 8 months ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CREDENTIAL: Persist PasswordForm's primary key through CredentialInfo. When we create a PasswordForm from a CredentialInfo, we're stripping out data that PasswordStore requires in order to find the form in the database. This breaks the auto-sign-in bit toggle for the credential if it was saved via our heuristics, and not via the API. This patch extends CredentialInfo to ensure that the data we need is available. BUG=594110 R=vasilii@chromium.org

Patch Set 1 #

Patch Set 2 : another test #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -6 lines) Patch
M components/password_manager/content/browser/credential_manager_dispatcher_unittest.cc View 1 1 chunk +32 lines, -0 lines 1 comment Download
M components/password_manager/core/common/credential_manager_types.h View 1 chunk +7 lines, -0 lines 1 comment Download
M components/password_manager/core/common/credential_manager_types.cc View 2 chunks +14 lines, -6 lines 1 comment Download
M components/password_manager/core/common/credential_manager_types_unittest.cc View 3 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mike West
WDYT?
4 years, 9 months ago (2016-03-11 12:12:06 UTC) #1
vasilii
I don't think that the new fields belong to CredentialInfo. It is the structure for ...
4 years, 9 months ago (2016-03-11 13:20:05 UTC) #2
Mike West
On 2016/03/11 at 13:20:05, vasilii wrote: > I don't think that the new fields belong ...
4 years, 9 months ago (2016-03-11 13:54:53 UTC) #3
vasilii
I'm OK with the quick fix for M50. But for ToT we can do better. ...
4 years, 9 months ago (2016-03-11 14:29:48 UTC) #4
vasilii
What's with this? I don't think that merging to M50 now is justified. How about ...
4 years, 9 months ago (2016-03-24 10:19:35 UTC) #5
Mike West
On 2016/03/24 at 10:19:35, vasilii wrote: > What's with this? I don't think that merging ...
4 years, 9 months ago (2016-03-24 11:24:42 UTC) #6
vasilii
4 years, 9 months ago (2016-03-24 17:58:56 UTC) #7
On 2016/03/24 11:24:42, Mike West wrote:
> On 2016/03/24 at 10:19:35, vasilii wrote:
> > What's with this? I don't think that merging to M50 now is justified. How
> about implementing the proper fix? If you don't have time, please let me know
> and I'll take this on.
> 
> If you have time to turn this into something shiny and good, please do. I've
> been buried in perf the last week, and now I'm trying to catch up on last
minute
> API changes that Mozilla has requested (like
> https://codereview.chromium.org/1828213002).
> 
> If you don't have time, I'll get to it next week (I'm out through Wednesday).
No
> worries either way.

I copied the CL to https://codereview.chromium.org/1832933002/

Powered by Google App Engine
This is Rietveld 408576698