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

Issue 2667363003: Enable moving of credentials in HttpPasswordMigrator (Closed)

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

Description

Enable moving of credentials in HttpPasswordMigrator In anticipation of only moving credentials on HSTS enabled hosts this change adds the option to move credentials in HttpPasswordMigrator. When moving the old HTTP credential will be removed from the password store. BUG=571580, 687968 R=vasilii@chromium.org Review-Url: https://codereview.chromium.org/2667363003 Cr-Commit-Position: refs/heads/master@{#447796} Committed: https://chromium.googlesource.com/chromium/src/+/d2b7ed2ef23c46cce1d041ab2763132ca435a7bc

Patch Set 1 #

Total comments: 7

Patch Set 2 : Addressed comments. #

Total comments: 6

Patch Set 3 : Comments. #

Total comments: 2

Patch Set 4 : Moved test methods out of class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -16 lines) Patch
M components/password_manager/core/browser/credential_manager_pending_request_task.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/form_fetcher_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/http_password_migrator.h View 3 chunks +7 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/http_password_migrator.cc View 1 2 2 chunks +17 lines, -10 lines 0 comments Download
M components/password_manager/core/browser/http_password_migrator_unittest.cc View 1 2 3 4 chunks +30 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
jdoerrie
Hi Vasilii, please take a look. https://codereview.chromium.org/2667363003/diff/1/components/password_manager/core/browser/http_password_migrator.cc File components/password_manager/core/browser/http_password_migrator.cc (right): https://codereview.chromium.org/2667363003/diff/1/components/password_manager/core/browser/http_password_migrator.cc#newcode47 components/password_manager/core/browser/http_password_migrator.cc:47: const auto old_form ...
3 years, 10 months ago (2017-02-02 13:51:10 UTC) #2
vasilii
https://codereview.chromium.org/2667363003/diff/1/components/password_manager/core/browser/http_password_migrator.cc File components/password_manager/core/browser/http_password_migrator.cc (right): https://codereview.chromium.org/2667363003/diff/1/components/password_manager/core/browser/http_password_migrator.cc#newcode44 components/password_manager/core/browser/http_password_migrator.cc:44: // Add the new credentials to the password store. ...
3 years, 10 months ago (2017-02-02 14:09:13 UTC) #4
jdoerrie
https://codereview.chromium.org/2667363003/diff/1/components/password_manager/core/browser/http_password_migrator.cc File components/password_manager/core/browser/http_password_migrator.cc (right): https://codereview.chromium.org/2667363003/diff/1/components/password_manager/core/browser/http_password_migrator.cc#newcode44 components/password_manager/core/browser/http_password_migrator.cc:44: // Add the new credentials to the password store. ...
3 years, 10 months ago (2017-02-02 14:44:58 UTC) #8
vasilii
lgtm https://codereview.chromium.org/2667363003/diff/20001/components/password_manager/core/browser/http_password_migrator.cc File components/password_manager/core/browser/http_password_migrator.cc (right): https://codereview.chromium.org/2667363003/diff/20001/components/password_manager/core/browser/http_password_migrator.cc#newcode64 components/password_manager/core/browser/http_password_migrator.cc:64: *form = new_form; std::move() may improve the performance ...
3 years, 10 months ago (2017-02-02 15:05:28 UTC) #9
jdoerrie
https://codereview.chromium.org/2667363003/diff/20001/components/password_manager/core/browser/http_password_migrator.cc File components/password_manager/core/browser/http_password_migrator.cc (right): https://codereview.chromium.org/2667363003/diff/20001/components/password_manager/core/browser/http_password_migrator.cc#newcode64 components/password_manager/core/browser/http_password_migrator.cc:64: *form = new_form; On 2017/02/02 15:05:28, vasilii wrote: > ...
3 years, 10 months ago (2017-02-02 15:36:35 UTC) #10
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/2667363003/40001
3 years, 10 months ago (2017-02-02 15:36:50 UTC) #13
vasilii
https://codereview.chromium.org/2667363003/diff/40001/components/password_manager/core/browser/http_password_migrator_unittest.cc File components/password_manager/core/browser/http_password_migrator_unittest.cc (right): https://codereview.chromium.org/2667363003/diff/40001/components/password_manager/core/browser/http_password_migrator_unittest.cc#newcode89 components/password_manager/core/browser/http_password_migrator_unittest.cc:89: void TestEmptyStore(HttpPasswordMigrator::MigrationMode mode) { We shouldn't inline such a ...
3 years, 10 months ago (2017-02-02 16:04:37 UTC) #14
jdoerrie
https://codereview.chromium.org/2667363003/diff/40001/components/password_manager/core/browser/http_password_migrator_unittest.cc File components/password_manager/core/browser/http_password_migrator_unittest.cc (right): https://codereview.chromium.org/2667363003/diff/40001/components/password_manager/core/browser/http_password_migrator_unittest.cc#newcode89 components/password_manager/core/browser/http_password_migrator_unittest.cc:89: void TestEmptyStore(HttpPasswordMigrator::MigrationMode mode) { On 2017/02/02 16:04:37, vasilii wrote: ...
3 years, 10 months ago (2017-02-02 16:44:55 UTC) #16
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/2667363003/60001
3 years, 10 months ago (2017-02-02 16:45:16 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 18:07:12 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d2b7ed2ef23c46cce1d041ab2763...

Powered by Google App Engine
This is Rietveld 408576698