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 802303002: Credential Manager: Switch 'request()' to GetAutofillableLogins(). (Closed)

Created:
6 years ago by Mike West
Modified:
6 years ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, darin-cc_chromium.org, Garrett Casto, jam, mkwst+watchlist-passwords_chromium.org, vasilii
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Credential Manager: Switch 'request()' to GetAutofillableLogins(). This patch changes the CredentialManagerDispatcher implementation of 'request()' to grab all the credentials from the PasswordStore, rather than just those that match the origin of the currently committed WebContents. This change is the first step towards supporting federations. Rather than doing multiple requests to the PasswordStore for the current origin, and each of the federation origins, we'll grab everything, and filter the result list before handing it back to the UI for display. BUG=400674 Committed: https://crrev.com/7d06c95de96bac42e426e11cb7119ee3341e3df0 Cr-Commit-Position: refs/heads/master@{#308362}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Feedback. #

Total comments: 3

Patch Set 3 : ScopedVector #

Messages

Total messages: 10 (3 generated)
Mike West
vabr@: Mind taking a look at this CL, following up from our conversation ~2 two ...
6 years ago (2014-12-15 09:58:18 UTC) #2
vabr (Chromium)
LGTM! Vaclav https://codereview.chromium.org/802303002/diff/1/components/password_manager/content/browser/content_credential_manager_dispatcher.cc File components/password_manager/content/browser/content_credential_manager_dispatcher.cc (right): https://codereview.chromium.org/802303002/diff/1/components/password_manager/content/browser/content_credential_manager_dispatcher.cc#newcode143 components/password_manager/content/browser/content_credential_manager_dispatcher.cc:143: if (filtered_results.empty() || An optional "BTW" nit: ...
6 years ago (2014-12-15 10:47:22 UTC) #4
Mike West
Mind taking another look at the change to content_credential_manager_dispatcher.cc:144 to dispose of unused PasswordForm objects? ...
6 years ago (2014-12-15 12:59:24 UTC) #5
vabr (Chromium)
lgtm https://codereview.chromium.org/802303002/diff/1/components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc File components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc (right): https://codereview.chromium.org/802303002/diff/1/components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc#newcode241 components/password_manager/content/browser/content_credential_manager_dispatcher_unittest.cc:241: store_->AddLogin(cross_origin_form_); On 2014/12/15 12:59:24, Mike West wrote: > ...
6 years ago (2014-12-15 13:27:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802303002/40001
6 years ago (2014-12-15 14:57:11 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-15 16:33:14 UTC) #9
commit-bot: I haz the power
6 years ago (2014-12-15 16:33:56 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7d06c95de96bac42e426e11cb7119ee3341e3df0
Cr-Commit-Position: refs/heads/master@{#308362}

Powered by Google App Engine
This is Rietveld 408576698