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

Issue 2262843002: Make PasswordFormManager::best_matches_ const (Closed)

Created:
4 years, 4 months ago by vabr (Chromium)
Modified:
4 years, 4 months ago
Reviewers:
dvadym
CC:
chromium-reviews, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, sdefresne+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@621355_pass_creds_to_update_by_value
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make PasswordFormManager::best_matches_ const ...and also the related lists of passwords from PasswordStore. PasswordFormManager should not really modify them, and will not be able to do so once their ownership will transfer to the coming FormFetcher, shared among multiple PasswordFormManagers. As a side-effect, this CL also gets rid of two aliases for maps involving PasswordForm. While the map's signature is long, it is more helpful to spell it out than to hide it behind a cryptic PasswordFormMap, or similar, which does not hint on ownership involved in the map. BUG=621355 Committed: https://crrev.com/a5406f79261a94c55b0826fac05f73375ded7d15 Cr-Commit-Position: refs/heads/master@{#414016}

Patch Set 1 #

Patch Set 2 : Sharing just weak pointers #

Patch Set 3 : Minor fixes #

Patch Set 4 : Fix patch deps and blacklisting #

Patch Set 5 : Just rebased #

Patch Set 6 : Just rebased #

Patch Set 7 : Just rebased #

Patch Set 8 : Just rebased #

Patch Set 9 : Just rebased #

Patch Set 10 : Just rebased #

Patch Set 11 : Just rebased #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -309 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_bubble_model.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_state.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_state.cc View 1 2 3 4 4 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_state_unittest.cc View 1 2 3 4 5 chunks +19 lines, -26 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_test.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller.h View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller.cc View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc View 1 2 3 4 8 chunks +21 lines, -30 lines 0 comments Download
M chrome/browser/ui/passwords/passwords_client_ui_delegate.h View 1 2 3 4 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/passwords/passwords_model_delegate.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/common/password_form.h View 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M components/autofill/core/common/password_form_fill_data.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/core/common/password_form_fill_data.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M components/autofill/core/common/password_form_fill_data_unittest.cc View 1 2 3 8 chunks +15 lines, -19 lines 0 comments Download
M components/password_manager/core/browser/form_saver.h View 1 2 3 4 chunks +8 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/form_saver_impl.h View 1 2 3 4 chunks +9 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/form_saver_impl.cc View 1 2 3 4 7 chunks +18 lines, -17 lines 0 comments Download
M components/password_manager/core/browser/form_saver_impl_unittest.cc View 1 2 3 19 chunks +49 lines, -51 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 1 2 3 8 chunks +27 lines, -20 lines 2 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 19 chunks +57 lines, -36 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/password_manager.h View 1 2 3 4 chunks +16 lines, -12 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 chunks +4 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/password_manager_client.h View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_manager_client.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/statistics_table.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/statistics_table.cc View 1 1 chunk +7 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/stub_form_saver.h View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M ios/chrome/browser/passwords/ios_chrome_update_password_infobar_delegate.mm View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/browser/passwords/password_controller.mm View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (39 generated)
vabr (Chromium)
Hi Vadym, This is another CL in the series, could you please review it? It ...
4 years, 4 months ago (2016-08-22 14:51:01 UTC) #26
dvadym
LGTM https://codereview.chromium.org/2262843002/diff/200001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2262843002/diff/200001/components/password_manager/core/browser/password_form_manager.h#newcode474 components/password_manager/core/browser/password_form_manager.h:474: // being managed by this. Do I understand ...
4 years, 4 months ago (2016-08-23 17:02:20 UTC) #39
vabr (Chromium)
Thanks, Vadym! Vaclav https://codereview.chromium.org/2262843002/diff/200001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2262843002/diff/200001/components/password_manager/core/browser/password_form_manager.h#newcode474 components/password_manager/core/browser/password_form_manager.h:474: // being managed by this. On ...
4 years, 4 months ago (2016-08-24 08:07:28 UTC) #40
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/2262843002/200001
4 years, 4 months ago (2016-08-24 08:08:13 UTC) #42
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 4 months ago (2016-08-24 08:12:50 UTC) #43
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 08:14:06 UTC) #45
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/a5406f79261a94c55b0826fac05f73375ded7d15
Cr-Commit-Position: refs/heads/master@{#414016}

Powered by Google App Engine
This is Rietveld 408576698