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

Issue 2133953002: PasswordForm -> FormDigest for GetLogins (Closed)

Created:
4 years, 5 months ago by vabr (Chromium)
Modified:
4 years, 5 months ago
Reviewers:
stanisc, dvadym
CC:
chromium-reviews, darin-cc_chromium.org, gcasto+watchlist_chromium.org, jam, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@413020_ssl_valid
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PasswordForm -> FormDigest for GetLogins This CL restricts the data passed to GetLogins and related methods. Instead of passing the whole of a PasswordForm, it only passes the data relevant for the credential retrieval -- the data contained in the newly introduced FormDigest struct: scheme, realm and origin. BUG=621355 Committed: https://crrev.com/40c87a312f8a900ae236d7329b0303b54f842150 Cr-Commit-Position: refs/heads/master@{#406799}

Patch Set 1 : chrome compiles, tests not yet #

Patch Set 2 : Compiles locally #

Patch Set 3 : iOS and Mac compile fixes #

Patch Set 4 : Fix Win compile #

Patch Set 5 : More iOS and Mac tests compilation fixed #

Patch Set 6 : Just rebased #

Total comments: 4

Patch Set 7 : Just rebased #

Patch Set 8 : Nits addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+367 lines, -315 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 2 3 4 5 6 chunks +17 lines, -14 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 2 3 4 5 5 chunks +11 lines, -17 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret.h View 1 2 3 4 5 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret_unittest.cc View 1 2 3 4 5 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 4 5 11 chunks +24 lines, -16 lines 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac_unittest.cc View 1 2 3 4 5 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_win.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win.cc View 1 2 3 8 chunks +13 lines, -12 lines 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 7 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/sync/test/integration/passwords_helper.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/content/browser/credential_manager_impl.cc View 1 2 3 4 5 6 1 chunk +6 lines, -6 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper.h View 3 chunks +4 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper_unittest.cc View 13 chunks +30 lines, -33 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.h View 2 chunks +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_require_user_mediation_task.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/login_database.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/login_database.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/login_database_ios_unittest.cc View 1 2 3 4 3 chunks +4 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 2 3 4 5 25 chunks +49 lines, -53 lines 0 comments Download
M components/password_manager/core/browser/mock_affiliated_match_helper.h View 2 chunks +6 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/mock_affiliated_match_helper.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/mock_password_store.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 11 chunks +34 lines, -14 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_store.h View 1 2 3 4 5 6 chunks +19 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 2 3 4 5 9 chunks +37 lines, -22 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/password_store_default.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/password_store_default_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 4 chunks +12 lines, -18 lines 0 comments Download
M components/password_manager/core/browser/test_password_store.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/test_password_store.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/passwords/credential_manager.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/passwords/credential_manager.mm View 1 2 3 4 5 6 1 chunk +7 lines, -6 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
vabr (Chromium)
Hi Vadym! Thanks for all the great reviews so far. I have another CL I'd ...
4 years, 5 months ago (2016-07-14 13:48:34 UTC) #7
dvadym
Thanks Vaclav for this refactoring! LGTM % nits https://codereview.chromium.org/2133953002/diff/100001/chrome/browser/password_manager/native_backend_libsecret.cc File chrome/browser/password_manager/native_backend_libsecret.cc (right): https://codereview.chromium.org/2133953002/diff/100001/chrome/browser/password_manager/native_backend_libsecret.cc#newcode332 chrome/browser/password_manager/native_backend_libsecret.cc:332: PasswordStore::FormDigest ...
4 years, 5 months ago (2016-07-20 13:43:02 UTC) #8
vabr (Chromium)
Thanks, Vadym! Stanislav, could you please review chrome/browser/sync/test/integration/passwords_helper.cc ? Thank you, Vaclav https://codereview.chromium.org/2133953002/diff/100001/chrome/browser/password_manager/native_backend_libsecret.cc File chrome/browser/password_manager/native_backend_libsecret.cc ...
4 years, 5 months ago (2016-07-20 14:13:06 UTC) #12
stanisc
passwords_helper.cc lgtm
4 years, 5 months ago (2016-07-20 19:42:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2133953002/140001
4 years, 5 months ago (2016-07-21 07:48:14 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 5 months ago (2016-07-21 07:51:58 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 07:53:28 UTC) #22
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/40c87a312f8a900ae236d7329b0303b54f842150
Cr-Commit-Position: refs/heads/master@{#406799}

Powered by Google App Engine
This is Rietveld 408576698