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

Issue 986983002: Delete PasswordStoreX::Get*LoginsImpl (Closed)

Created:
5 years, 9 months ago by vabr (Chromium)
Modified:
5 years, 9 months ago
Reviewers:
engedy
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete PasswordStoreX::Get*LoginsImpl As pointed out in https://codereview.chromium.org/906973007/diff/80001/chrome/browser/password_manager/password_store_x.cc#newcode157, instead of overriding Get*LoginsImpl in PasswordStoreX, it is enough to rely on the PasswordStoreDefault implementation of those methods to use PasswordStoreX::Fill*Logins. The only current difference is that in addition to what Fill*Logins do, PasswordStoreX::Get*LoginsImpl also sorted the logins by origin, to match the order of the login database. There are two ways to fix this: (1) Move the sorting from Get*LoginsImpl to Fill*Logins. (2) Drop the sorting. This CL chose (1). This means that now also PasswordSyncableService::ReadFromPasswordStore, which currently gets the logins unsorted, will perform the sorting. This call should be infrequent enough for this not to be noticeable.r While (2) would also not break the insides of the password manager, it would degrade the UI (try to find a login in an unsorted list of them). For the reference, the CL which added the sorting was https://codereview.chromium.org/6953010. BUG=324291 Committed: https://crrev.com/f7f365094f1aba4e9e46e574d85fabcdac62827e Cr-Commit-Position: refs/heads/master@{#319617}

Patch Set 1 #

Patch Set 2 : Just rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -52 lines) Patch
M chrome/browser/password_manager/password_store_x.h View 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.cc View 3 chunks +9 lines, -45 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
vabr (Chromium)
Hi Balázs, While I'm finishing addressing your comments on https://codereview.chromium.org/906973007/, this CL is a spin-off ...
5 years, 9 months ago (2015-03-09 09:42:24 UTC) #2
engedy
LGTM, thanks for the clean-up!
5 years, 9 months ago (2015-03-09 09:46:35 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986983002/1
5 years, 9 months ago (2015-03-09 10:49:17 UTC) #5
commit-bot: I haz the power
Failed to apply the patch.
5 years, 9 months ago (2015-03-09 11:15:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/986983002/20001
5 years, 9 months ago (2015-03-09 12:41:09 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-09 13:12:45 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-09 13:14:24 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f7f365094f1aba4e9e46e574d85fabcdac62827e
Cr-Commit-Position: refs/heads/master@{#319617}

Powered by Google App Engine
This is Rietveld 408576698