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

Issue 2127533003: Remove PasswordForm::ssl_valid (Closed)

Created:
4 years, 5 months ago by vabr (Chromium)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, gcasto+watchlist_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

Remove PasswordForm::ssl_valid The ssl_valid attribute no longer contains useful data as it is trivially derivable from origin for sites saved after https://crrev.com/276298. The discussion on http://crbug.com/413020 concluded that it is OK to ignore that argument also for older credentials and treat all passwords as if ssl_valid were true. This CL implements that decision. BUG=413020 Committed: https://crrev.com/61f90bf18152e77deb2179c66ccbb06456080a38 Cr-Commit-Position: refs/heads/master@{#405467}

Patch Set 1 #

Patch Set 2 : Compiles on Linux #

Patch Set 3 : Fix some compilation issues #

Patch Set 4 : Fix tests #

Patch Set 5 : Fix Mac #

Patch Set 6 : Login DB migration fixed, but needs to be split in a separate CL #

Patch Set 7 : Rebase and fix some more tests #

Patch Set 8 : Just rebased #

Patch Set 9 : More rebasing #

Patch Set 10 : More rebasing #

Patch Set 11 : Just rebased #

Patch Set 12 : Rebased once more #

Patch Set 13 : Rebase to pick up fixes #

Patch Set 14 : Just rebased #

Patch Set 15 : Fix Mac #

Patch Set 16 : Just rebased, no adjustments #

Patch Set 17 : Adjust //ios #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -439 lines) Patch
M chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +14 lines, -7 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +24 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/native_backend_libsecret_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 42 chunks +55 lines, -93 lines 0 comments Download
M chrome/browser/password_manager/password_store_proxy_mac_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate_android_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_manager_browsertest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_state_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/utility/importer/ie_importer_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/utility/importer/nss_decryptor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/common/autofill_param_traits_macros.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/public/cpp/autofill_types_struct_traits.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M components/autofill/content/public/cpp/autofill_types_struct_traits.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/public/cpp/autofill_types_struct_traits_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/public/interfaces/autofill_types.mojom View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/core/common/password_form.h View 1 1 chunk +0 lines, -9 lines 0 comments Download
M components/autofill/core/common/password_form.cc View 1 3 chunks +2 lines, -4 lines 0 comments Download
M components/autofill/core/common/password_form_fill_data_unittest.cc View 1 10 chunks +0 lines, -10 lines 0 comments Download
M components/autofill/core/common/save_password_progress_logger.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/autofill/core/common/save_password_progress_logger.cc View 1 2 chunks +0 lines, -3 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_impl.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M components/password_manager/content/browser/credential_manager_impl_unittest.cc View 1 8 chunks +0 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper_unittest.cc View 1 2 3 3 chunks +0 lines, -11 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_password_form_manager.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/login_database.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +28 lines, -31 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 20 chunks +6 lines, -34 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 3 chunks +1 line, -15 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 33 chunks +39 lines, -66 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +2 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/password_manager_test_utils.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_manager_test_utils.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_manager_util_unittest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_store_change.h View 1 2 3 4 5 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_store_default_unittest.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -3 lines 0 comments Download
M components/password_manager/core/browser/password_store_origin_unittest.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 2 3 4 5 6 7 17 chunks +34 lines, -47 lines 0 comments Download
M components/password_manager/core/browser/password_syncable_service.cc View 1 3 chunks +0 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_syncable_service_unittest.cc View 1 4 chunks +0 lines, -6 lines 0 comments Download
A + components/test/data/password_manager/login_db_v18.sql View 1 2 3 4 5 6 4 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager.mm View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ios/chrome/browser/passwords/credential_manager_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +0 lines, -2 lines 0 comments Download
M sync/protocol/password_specifics.proto View 1 1 chunk +1 line, -1 line 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 35 (23 generated)
vabr (Chromium)
Hi Vadym, Could you please review this before I add OWNERS (in particular security and ...
4 years, 5 months ago (2016-07-13 12:29:45 UTC) #4
vabr (Chromium)
Adding some more reviewers. Please review mkwst: components/autofill/content/public/cpp/*. stanisc: sync/*. Does the proto need to ...
4 years, 5 months ago (2016-07-13 20:04:33 UTC) #13
anthonyvd
chrome/browser/profiles/profile_manager_browsertest.cc lgtm
4 years, 5 months ago (2016-07-13 20:08:46 UTC) #14
Ilya Sherman
importer and histograms.xml lgtm
4 years, 5 months ago (2016-07-13 21:03:23 UTC) #15
stanisc
sync lgtm
4 years, 5 months ago (2016-07-13 21:10:02 UTC) #16
Mike West
Dropping the flag from IPC LGTM.
4 years, 5 months ago (2016-07-14 05:25:56 UTC) #17
vabr (Chromium)
Thanks all for review so far! Vadym -- just a heads-up: because I'm currently upstreaming ...
4 years, 5 months ago (2016-07-14 08:20:02 UTC) #18
dvadym
LGTM, thanks for removing ssl_valid field and simplification of our codebase
4 years, 5 months ago (2016-07-14 10:21:41 UTC) #27
vabr (Chromium)
On 2016/07/14 10:21:41, dvadym wrote: > LGTM, thanks for removing ssl_valid field and simplification of ...
4 years, 5 months ago (2016-07-14 10:26:02 UTC) #28
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/2127533003/320001
4 years, 5 months ago (2016-07-14 10:43:27 UTC) #31
commit-bot: I haz the power
Committed patchset #17 (id:320001)
4 years, 5 months ago (2016-07-14 10:49:03 UTC) #33
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 10:51:03 UTC) #35
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/61f90bf18152e77deb2179c66ccbb06456080a38
Cr-Commit-Position: refs/heads/master@{#405467}

Powered by Google App Engine
This is Rietveld 408576698