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

Issue 1651913003: Handle origin-specific password deletion in BrowsingDataRemover (Closed)

Created:
4 years, 10 months ago by Timo Reimann
Modified:
4 years, 10 months ago
Reviewers:
Mike West
CC:
chromium-reviews, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle origin-specific password deletion in BrowsingDataRemover If an origin is given to BrowsingDataRemover's Remove() method, we restrict deletion by origin in addition to time. Otherwise, the existing, time-only logic applies. Test-wise, we extract the password setup code from RemovePasswordStatistics into a new dedicated helper class called RemovePasswordsTester and reuse it for the new test. R=mkwst@chromium.org BUG=113973 Committed: https://crrev.com/9a211cf16c8d22492026277a112b09c53142ac7c Cr-Commit-Position: refs/heads/master@{#373768}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments; switch to checking GURL emptiness for origin-based deletion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -22 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.h View 1 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 3 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 3 chunks +57 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Timo Reimann
This is the final CL which builds upon the origin-specific deletion functionality previously created for ...
4 years, 10 months ago (2016-02-01 10:07:20 UTC) #1
Mike West
Thanks! Comments inline. https://codereview.chromium.org/1651913003/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/1651913003/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc#newcode704 chrome/browser/browsing_data/browsing_data_remover.cc:704: if (remove_origin.unique()) Why "unique"? What if ...
4 years, 10 months ago (2016-02-04 18:25:12 UTC) #2
Timo Reimann
https://codereview.chromium.org/1651913003/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://codereview.chromium.org/1651913003/diff/1/chrome/browser/browsing_data/browsing_data_remover.cc#newcode704 chrome/browser/browsing_data/browsing_data_remover.cc:704: if (remove_origin.unique()) On 2016/02/04 18:25:11, Mike West (OOO until ...
4 years, 10 months ago (2016-02-05 01:12:38 UTC) #3
Mike West
LGTM, thank you.
4 years, 10 months ago (2016-02-05 07:43:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1651913003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1651913003/20001
4 years, 10 months ago (2016-02-05 07:48:34 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-05 08:34:03 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 08:35:20 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9a211cf16c8d22492026277a112b09c53142ac7c
Cr-Commit-Position: refs/heads/master@{#373768}

Powered by Google App Engine
This is Rietveld 408576698