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

Issue 2748933005: Remove Obsolete HTTP SiteStatistics From PasswordStore during Migration (Closed)

Created:
3 years, 9 months ago by jdoerrie
Modified:
3 years, 9 months ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove Obsolete HTTP SiteStatistics From PasswordStore during Migration As a follow up to a comment in http://crrev.com/2721663002 this change implements the removal of obsolete site statistics when a site migrated to HTTPS and has HSTS enabled. BUG=687968 R=vasilii@chromium.org Review-Url: https://codereview.chromium.org/2748933005 Cr-Commit-Position: refs/heads/master@{#458836} Committed: https://chromium.googlesource.com/chromium/src/+/7dc7688b853c5ae80cae066021d02c591e06a1e2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed order and added deletion test #

Total comments: 11

Patch Set 3 : Addressed comments. #

Total comments: 2

Patch Set 4 : Capture explicitly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -428 lines) Patch
M components/password_manager/core/browser/BUILD.gn View 2 chunks +3 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.h View 4 chunks +4 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
D components/password_manager/core/browser/http_password_migrator.h View 1 chunk +0 lines, -83 lines 0 comments Download
D components/password_manager/core/browser/http_password_migrator.cc View 1 chunk +0 lines, -116 lines 0 comments Download
D components/password_manager/core/browser/http_password_migrator_unittest.cc View 1 chunk +0 lines, -178 lines 0 comments Download
A + components/password_manager/core/browser/http_password_store_migrator.h View 5 chunks +15 lines, -12 lines 0 comments Download
A + components/password_manager/core/browser/http_password_store_migrator.cc View 1 4 chunks +14 lines, -9 lines 0 comments Download
A + components/password_manager/core/browser/http_password_store_migrator_unittest.cc View 1 2 3 7 chunks +69 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
jdoerrie
Hi Vasilii, please review :)
3 years, 9 months ago (2017-03-15 12:21:45 UTC) #3
vasilii
https://codereview.chromium.org/2748933005/diff/1/components/password_manager/core/browser/http_password_store_migrator.cc File components/password_manager/core/browser/http_password_store_migrator.cc (right): https://codereview.chromium.org/2748933005/diff/1/components/password_manager/core/browser/http_password_store_migrator.cc#newcode72 components/password_manager/core/browser/http_password_store_migrator.cc:72: client_->GetPasswordStore()->RemoveSiteStats(http_origin_domain_); I think it'a valid to assume that HttpPasswordStoreMigrator ...
3 years, 9 months ago (2017-03-15 13:27:59 UTC) #6
jdoerrie
Sorry for the added noise due to the rebase. https://codereview.chromium.org/2748933005/diff/1/components/password_manager/core/browser/http_password_store_migrator.cc File components/password_manager/core/browser/http_password_store_migrator.cc (right): https://codereview.chromium.org/2748933005/diff/1/components/password_manager/core/browser/http_password_store_migrator.cc#newcode72 components/password_manager/core/browser/http_password_store_migrator.cc:72: ...
3 years, 9 months ago (2017-03-22 13:29:22 UTC) #7
vasilii
https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn File components/password_manager/core/browser/BUILD.gn (right): https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn#newcode56 components/password_manager/core/browser/BUILD.gn:56: "http_password_store_migrator.h", What about http_credential_data_migrator? https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/http_password_store_migrator_unittest.cc File components/password_manager/core/browser/http_password_store_migrator_unittest.cc (right): https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/http_password_store_migrator_unittest.cc#newcode26 ...
3 years, 9 months ago (2017-03-22 15:04:02 UTC) #8
jdoerrie
https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn File components/password_manager/core/browser/BUILD.gn (right): https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn#newcode56 components/password_manager/core/browser/BUILD.gn:56: "http_password_store_migrator.h", On 2017/03/22 15:04:02, vasilii wrote: > What about ...
3 years, 9 months ago (2017-03-22 15:59:16 UTC) #10
vasilii
lgtm https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn File components/password_manager/core/browser/BUILD.gn (right): https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn#newcode56 components/password_manager/core/browser/BUILD.gn:56: "http_password_store_migrator.h", On 2017/03/22 15:59:16, jdoerrie wrote: > On ...
3 years, 9 months ago (2017-03-22 17:24:51 UTC) #14
jdoerrie
https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn File components/password_manager/core/browser/BUILD.gn (right): https://codereview.chromium.org/2748933005/diff/20001/components/password_manager/core/browser/BUILD.gn#newcode56 components/password_manager/core/browser/BUILD.gn:56: "http_password_store_migrator.h", On 2017/03/22 17:24:51, vasilii wrote: > On 2017/03/22 ...
3 years, 9 months ago (2017-03-22 17:57:09 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/2748933005/60001
3 years, 9 months ago (2017-03-22 17:57:49 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 19:26:40 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/7dc7688b853c5ae80cae066021d0...

Powered by Google App Engine
This is Rietveld 408576698