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

Issue 1369173002: Implement origin-based deletion for passwords in PasswordDefaultStore (Closed)

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

Description

Implement origin-based deletion for passwords in PasswordDefaultStore This is the first in a series of CLs designated to introduce support for origin-based deletion of passwords. We will tackle one password store implementation at a time, starting with PasswordDefaultStore. BUG=113973 TESTS=unit tests Committed: https://crrev.com/48300fa190a7b2052a981363bc102d2c450122cc Cr-Commit-Position: refs/heads/master@{#353864}

Patch Set 1 #

Total comments: 27

Patch Set 2 : Incorporate first round of feedback #

Patch Set 3 : Incorporate remaining feedback #

Total comments: 11

Patch Set 4 : Address latest comments #

Patch Set 5 : Remove redundant ::Time to fix trybot compile errors #

Patch Set 6 : Drain message loop during fixture teardown #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -3 lines) Patch
M components/password_manager/core/browser/password_store.h View 4 chunks +23 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 4 chunks +34 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.cc View 2 chunks +21 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_default_unittest.cc View 1 2 3 4 5 7 chunks +111 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (11 generated)
Timo Reimann
Vasilii, would you mind reviewing my CL? Primarily, I'd be interested to know if you ...
5 years, 2 months ago (2015-09-28 18:43:07 UTC) #2
vasilii
https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store.cc File components/password_manager/core/browser/password_store.cc (right): https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store.cc#newcode355 components/password_manager/core/browser/password_store.cc:355: } On 2015/09/28 18:43:07, Timo Reimann wrote: > The ...
5 years, 2 months ago (2015-09-29 13:53:56 UTC) #3
Timo Reimann
First round of (undisputed :-) ) feedback incorporated. Mike, I put you on CC because ...
5 years, 2 months ago (2015-09-29 22:31:42 UTC) #4
Timo Reimann
Any updates on this one? Vasilii, can we try to move forward as much as ...
5 years, 2 months ago (2015-10-05 13:23:57 UTC) #5
Mike West
Vasilii is out of office; I'll do my best to get to this tomorrow. Sorry ...
5 years, 2 months ago (2015-10-05 16:27:50 UTC) #6
vasilii
Regarding the scheme/port treatment I am waiting for the Mike's input. https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default_unittest.cc File components/password_manager/core/browser/password_store_default_unittest.cc (right): ...
5 years, 2 months ago (2015-10-08 13:53:38 UTC) #7
Mike West
https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default.cc File components/password_manager/core/browser/password_store_default.cc (right): https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default.cc#newcode102 components/password_manager/core/browser/password_store_default.cc:102: } On 2015/09/29 at 22:31:42, Timo Reimann wrote: > ...
5 years, 2 months ago (2015-10-08 14:01:19 UTC) #9
Timo Reimann
https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default_unittest.cc File components/password_manager/core/browser/password_store_default_unittest.cc (right): https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default_unittest.cc#newcode315 components/password_manager/core/browser/password_store_default_unittest.cc:315: base::Time::Max(), base::Closure()); On 2015/10/08 at 13:53:38, vasilii wrote: > ...
5 years, 2 months ago (2015-10-10 20:23:05 UTC) #10
Timo Reimann
The last patch should address all remaining comments: - Replace CreatePasswordForm() method by composition CreatePasswordFormFromDataForTesting(CreateTestPasswordFormDataByOrigin(origin_url)). ...
5 years, 2 months ago (2015-10-10 20:44:36 UTC) #11
vasilii
https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default_unittest.cc File components/password_manager/core/browser/password_store_default_unittest.cc (right): https://codereview.chromium.org/1369173002/diff/1/components/password_manager/core/browser/password_store_default_unittest.cc#newcode315 components/password_manager/core/browser/password_store_default_unittest.cc:315: base::Time::Max(), base::Closure()); On 2015/10/10 20:23:05, Timo Reimann wrote: > ...
5 years, 2 months ago (2015-10-12 17:01:30 UTC) #12
Timo Reimann
https://codereview.chromium.org/1369173002/diff/40001/components/password_manager/core/browser/password_store_default_unittest.cc File components/password_manager/core/browser/password_store_default_unittest.cc (right): https://codereview.chromium.org/1369173002/diff/40001/components/password_manager/core/browser/password_store_default_unittest.cc#newcode29 components/password_manager/core/browser/password_store_default_unittest.cc:29: using testing::SizeIs; On 2015/10/12 at 17:01:29, vasilii wrote: > ...
5 years, 2 months ago (2015-10-12 22:08:06 UTC) #13
vasilii
lgtm https://codereview.chromium.org/1369173002/diff/40001/components/password_manager/core/browser/password_store_default_unittest.cc File components/password_manager/core/browser/password_store_default_unittest.cc (right): https://codereview.chromium.org/1369173002/diff/40001/components/password_manager/core/browser/password_store_default_unittest.cc#newcode84 components/password_manager/core/browser/password_store_default_unittest.cc:84: const std::string& origin_url) { On 2015/10/12 22:08:06, Timo ...
5 years, 2 months ago (2015-10-13 13:48:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1369173002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1369173002/60001
5 years, 2 months ago (2015-10-13 13:58:15 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/130912) chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 2 months ago (2015-10-13 14:22:05 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1369173002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1369173002/80001
5 years, 2 months ago (2015-10-13 14:44:33 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/119839) win_chromium_x64_rel_ng on ...
5 years, 2 months ago (2015-10-13 16:13:24 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1369173002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1369173002/80001
5 years, 2 months ago (2015-10-13 16:46:29 UTC) #25
vasilii
I guess PasswordStore is still referenced by the message loop after the test. You may ...
5 years, 2 months ago (2015-10-13 17:33:34 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/119904)
5 years, 2 months ago (2015-10-13 18:04:02 UTC) #28
Timo Reimann
On 2015/10/13 at 17:33:34, vasilii wrote: > I guess PasswordStore is still referenced by the ...
5 years, 2 months ago (2015-10-13 20:44:30 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1369173002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1369173002/100001
5 years, 2 months ago (2015-10-13 20:52:55 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 2 months ago (2015-10-13 21:50:14 UTC) #33
commit-bot: I haz the power
5 years, 2 months ago (2015-10-13 21:51:07 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/48300fa190a7b2052a981363bc102d2c450122cc
Cr-Commit-Position: refs/heads/master@{#353864}

Powered by Google App Engine
This is Rietveld 408576698