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

Issue 1066543004: Update affiliated web credentials when Android credentials are updated. (Closed)

Created:
5 years, 8 months ago by engedy
Modified:
5 years, 8 months ago
Reviewers:
vasilii, Mike West
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update affiliated web credentials when Android credentials are updated. BUG=476526 Committed: https://crrev.com/07307dd962b110bd2d90521059b4939e6dc7491f Cr-Commit-Position: refs/heads/master@{#326019}

Patch Set 1 : Update affiliated web credentials when Android credentials are updated. #

Total comments: 23

Patch Set 2 : Addressed first round of comments from mkwst@. #

Total comments: 4

Patch Set 3 : Added missing unit test, field trial, and fixed one bug and addressed one comment. #

Patch Set 4 : Clang-format. #

Patch Set 5 : Address comments from vasilii@, minor changes. #

Total comments: 8

Patch Set 6 : Addressed comments from vasilii@. #

Patch Set 7 : Fix typo, and too long lines. #

Total comments: 4

Patch Set 8 : Addressed next round of comments, removed superfluous namespace references. #

Patch Set 9 : Fix typo, run clang-format again. #

Total comments: 4

Patch Set 10 : Addressed comments to Patch Set 9 from vasilii@. #

Patch Set 11 : Use ThreadTaskRunnerHandle instead of now-banned MessageLoopProxy. #

Patch Set 12 : Fix the correct MessageLoopProxy occurrence this time. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+775 lines, -40 lines) Patch
M chrome/browser/password_manager/password_store_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper.h View 1 2 2 chunks +34 lines, -5 lines 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper.cc View 1 2 3 chunks +49 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/affiliated_match_helper_unittest.cc View 1 2 3 chunks +62 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/affiliation_utils.h View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/affiliation_utils.cc View 1 2 3 4 5 6 7 4 chunks +20 lines, -1 line 0 comments Download
M components/password_manager/core/browser/affiliation_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +47 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_store.h View 1 2 3 4 5 6 7 8 9 8 chunks +65 lines, -10 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 2 3 4 5 6 7 8 3 chunks +159 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_sync.h View 1 chunk +3 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_store_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +313 lines, -4 lines 0 comments Download
M components/password_manager/core/browser/password_syncable_service.cc View 2 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
engedy
@Mike, @Vasilii: Could you please take a preliminary look? What's left to do is: * ...
5 years, 8 months ago (2015-04-17 17:39:32 UTC) #3
Mike West
I need some help understanding the big PasswordStoreTest. Ping me when you have a few ...
5 years, 8 months ago (2015-04-20 08:17:29 UTC) #4
engedy
https://codereview.chromium.org/1066543004/diff/20001/components/password_manager/core/browser/affiliated_match_helper.cc File components/password_manager/core/browser/affiliated_match_helper.cc (right): https://codereview.chromium.org/1066543004/diff/20001/components/password_manager/core/browser/affiliated_match_helper.cc#newcode80 components/password_manager/core/browser/affiliated_match_helper.cc:80: return; On 2015/04/20 08:17:28, Mike West wrote: > If ...
5 years, 8 months ago (2015-04-20 09:30:11 UTC) #5
Mike West
Looks good so far. Ping again when you've got the other bits finished that you'd ...
5 years, 8 months ago (2015-04-20 10:54:57 UTC) #6
engedy
I have added the missing unit test, and made the whole thing contingent on a ...
5 years, 8 months ago (2015-04-20 12:46:21 UTC) #7
vasilii
Did you consider moving the logic out of PasswordStore? You just need to observe when ...
5 years, 8 months ago (2015-04-20 13:04:08 UTC) #8
engedy
Yes, I initially wanted to implement the logic in AffiliatedMatchHelper. However, the showstopper there was ...
5 years, 8 months ago (2015-04-20 13:50:43 UTC) #9
vasilii
https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/affiliation_utils.cc File components/password_manager/core/browser/affiliation_utils.cc (right): https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/affiliation_utils.cc#newcode310 components/password_manager/core/browser/affiliation_utils.cc:310: const std::string update_enabled = variations::GetVariationParamValue( Move the line down ...
5 years, 8 months ago (2015-04-20 15:02:07 UTC) #10
engedy
https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/affiliation_utils.cc File components/password_manager/core/browser/affiliation_utils.cc (right): https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/affiliation_utils.cc#newcode310 components/password_manager/core/browser/affiliation_utils.cc:310: const std::string update_enabled = variations::GetVariationParamValue( On 2015/04/20 15:02:07, vasilii ...
5 years, 8 months ago (2015-04-20 15:14:05 UTC) #11
vasilii
https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/password_store.cc File components/password_manager/core/browser/password_store.cc (right): https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/password_store.cc#newcode341 components/password_manager/core/browser/password_store.cc:341: for (auto it_candidate = candidates.begin(); it_candidate != candidates.end(); On ...
5 years, 8 months ago (2015-04-20 16:25:19 UTC) #12
engedy
https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/password_store.cc File components/password_manager/core/browser/password_store.cc (right): https://codereview.chromium.org/1066543004/diff/100001/components/password_manager/core/browser/password_store.cc#newcode341 components/password_manager/core/browser/password_store.cc:341: for (auto it_candidate = candidates.begin(); it_candidate != candidates.end(); On ...
5 years, 8 months ago (2015-04-20 18:31:59 UTC) #13
Mike West
LGTM, thanks for making the changes we discussed. I'm happy with this, but please wait ...
5 years, 8 months ago (2015-04-21 08:55:21 UTC) #14
vasilii
lgtm https://codereview.chromium.org/1066543004/diff/180001/components/password_manager/core/browser/affiliation_utils_unittest.cc File components/password_manager/core/browser/affiliation_utils_unittest.cc (right): https://codereview.chromium.org/1066543004/diff/180001/components/password_manager/core/browser/affiliation_utils_unittest.cc#newcode20 components/password_manager/core/browser/affiliation_utils_unittest.cc:20: const char kFieldTrialName[] = "AffiliationBasedMatching"; Alphabet order. https://codereview.chromium.org/1066543004/diff/180001/components/password_manager/core/browser/password_store.h ...
5 years, 8 months ago (2015-04-21 09:20:19 UTC) #15
engedy
Mike, Vasilii, thank you both for reviewing this! https://codereview.chromium.org/1066543004/diff/180001/components/password_manager/core/browser/affiliation_utils_unittest.cc File components/password_manager/core/browser/affiliation_utils_unittest.cc (right): https://codereview.chromium.org/1066543004/diff/180001/components/password_manager/core/browser/affiliation_utils_unittest.cc#newcode20 components/password_manager/core/browser/affiliation_utils_unittest.cc:20: const ...
5 years, 8 months ago (2015-04-21 09:42:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066543004/200001
5 years, 8 months ago (2015-04-21 11:12:00 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/57678)
5 years, 8 months ago (2015-04-21 11:20:11 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066543004/220001
5 years, 8 months ago (2015-04-21 11:28:24 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/57681)
5 years, 8 months ago (2015-04-21 11:36:03 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066543004/240001
5 years, 8 months ago (2015-04-21 12:02:50 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:240001)
5 years, 8 months ago (2015-04-21 12:59:41 UTC) #30
commit-bot: I haz the power
5 years, 8 months ago (2015-04-21 13:00:42 UTC) #31
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/07307dd962b110bd2d90521059b4939e6dc7491f
Cr-Commit-Position: refs/heads/master@{#326019}

Powered by Google App Engine
This is Rietveld 408576698