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

Issue 335893002: Support to remove passwords by date_synced timestamp. (Closed)

Created:
6 years, 6 months ago by vasilii
Modified:
6 years, 6 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Project:
chromium
Visibility:
Public.

Description

Support to remove passwords by date_synced timestamp. The new method RemoveLoginsSyncedBetween() works exactly like the existing RemoveLoginsCreatedBetween(). BUG=362679 TBR=zea@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277863

Patch Set 1 #

Patch Set 2 : Sync integration tests #

Total comments: 23

Patch Set 3 : vabr's comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+727 lines, -185 lines) Patch
M chrome/browser/password_manager/native_backend_gnome_x.h View 1 2 2 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x.cc View 1 2 3 chunks +68 lines, -39 lines 0 comments Download
M chrome/browser/password_manager/native_backend_gnome_x_unittest.cc View 1 2 2 chunks +68 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.h View 1 2 4 chunks +23 lines, -6 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x.cc View 1 2 4 chunks +123 lines, -93 lines 0 comments Download
M chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc View 1 2 4 chunks +82 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.h View 1 2 2 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 5 chunks +31 lines, -10 lines 0 comments Download
M chrome/browser/sync/test/integration/passwords_helper.cc View 1 2 3 chunks +13 lines, -0 lines 2 comments Download
M components/password_manager/core/browser/login_database.h View 1 2 2 chunks +16 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/login_database.cc View 1 2 4 chunks +65 lines, -18 lines 0 comments Download
M components/password_manager/core/browser/login_database_unittest.cc View 1 2 5 chunks +56 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/mock_password_store.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_store_default.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_syncable_service.cc View 4 chunks +6 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_syncable_service_unittest.cc View 1 2 2 chunks +27 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/test_password_store.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/test_password_store.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
vasilii
Hi Garrett, please review. It's the second (and hopefully last) patch for the "Remote Unsync" ...
6 years, 6 months ago (2014-06-13 18:27:34 UTC) #1
vasilii
Nicolas, please review passwords_helper.cc. Garrett, please review everything else.
6 years, 6 months ago (2014-06-16 13:28:44 UTC) #2
vasilii
Vaclav, please review the CL.
6 years, 6 months ago (2014-06-17 08:14:54 UTC) #3
vabr (Chromium)
Hi Vasilii, I'm publishing the first part of the comments, and will finish the rest ...
6 years, 6 months ago (2014-06-17 15:28:41 UTC) #4
vabr (Chromium)
LGTM on the condition of both my sets of comments being addressed. Cheers, Vaclav https://codereview.chromium.org/335893002/diff/20001/chrome/browser/password_manager/native_backend_gnome_x.h ...
6 years, 6 months ago (2014-06-17 16:53:31 UTC) #5
vasilii
https://codereview.chromium.org/335893002/diff/20001/chrome/browser/password_manager/native_backend_gnome_x.cc File chrome/browser/password_manager/native_backend_gnome_x.cc (right): https://codereview.chromium.org/335893002/diff/20001/chrome/browser/password_manager/native_backend_gnome_x.cc#newcode743 chrome/browser/password_manager/native_backend_gnome_x.cc:743: forms->reserve(forms->size() + all_forms.size()); On 2014/06/17 15:28:40, vabr (Chromium) wrote: ...
6 years, 6 months ago (2014-06-17 17:24:15 UTC) #6
vasilii
The CQ bit was checked by vasilii@chromium.org
6 years, 6 months ago (2014-06-17 17:27:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/335893002/40001
6 years, 6 months ago (2014-06-17 17:29:08 UTC) #8
Garrett Casto
lgtm Terribly sorry for the late review, just a few things that can wait for ...
6 years, 6 months ago (2014-06-17 17:57:36 UTC) #9
commit-bot: I haz the power
Change committed as 277863
6 years, 6 months ago (2014-06-17 21:12:48 UTC) #10
Nicolas Zea
https://codereview.chromium.org/335893002/diff/40001/chrome/browser/sync/test/integration/passwords_helper.cc File chrome/browser/sync/test/integration/passwords_helper.cc (right): https://codereview.chromium.org/335893002/diff/40001/chrome/browser/sync/test/integration/passwords_helper.cc#newcode152 chrome/browser/sync/test/integration/passwords_helper.cc:152: password_manager::ContainsSamePasswordForms(verifier_forms, forms); Does it make sense to modify this ...
6 years, 6 months ago (2014-06-17 21:41:12 UTC) #11
vasilii
https://codereview.chromium.org/335893002/diff/20001/chrome/browser/password_manager/password_store_x.cc File chrome/browser/password_manager/password_store_x.cc (right): https://codereview.chromium.org/335893002/diff/20001/chrome/browser/password_manager/password_store_x.cc#newcode119 chrome/browser/password_manager/password_store_x.cc:119: backend_->RemoveLoginsSyncedBetween(delete_begin, delete_end, &changes)) { On 2014/06/17 17:57:36, Garrett Casto ...
6 years, 6 months ago (2014-06-18 10:00:57 UTC) #12
vabr (Chromium)
6 years, 6 months ago (2014-06-18 12:01:03 UTC) #13
Message was sent while issue was closed.
Thanks for addressing the comments, LGTM.

Cheers,
Vaclav

Powered by Google App Engine
This is Rietveld 408576698