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

Issue 2594723002: Count number of origins with data affected by clearing "cookies and site data". (Closed)

Created:
4 years ago by dullweber
Modified:
3 years, 9 months ago
Reviewers:
msramek
CC:
chromium-reviews, dbeam+watch-options_chromium.org, msramek+watch_chromium.org, michaelpg+watch-options_chromium.org, michaelpg+watch-md-settings_chromium.org, raymes+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, markusheintz_
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Count number of origins with data affected by clearing "cookies and site data". BUG=674526 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2594723002 Cr-Commit-Position: refs/heads/master@{#454851} Committed: https://chromium.googlesource.com/chromium/src/+/04af4448e4833d6d1e9e06059ab9947a4d936111

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : add CookieCountingHelper #

Patch Set 4 : add browser tests, fix memory leak, fix channel GURLs #

Patch Set 5 : Add comments for issues with incomplete data deletion #

Total comments: 37

Patch Set 6 : fix include guards #

Patch Set 7 : fix browser_tests compilation #

Patch Set 8 : remove comments #

Total comments: 26

Patch Set 9 : fix review issues #

Total comments: 6

Patch Set 10 : convert browsertest to unittest #

Patch Set 11 : file filepath strings #

Total comments: 2

Patch Set 12 : try fix android compile #

Patch Set 13 : fix android test #

Patch Set 14 : fix android test #

Patch Set 15 : only use counter for cbd tab ui #

Patch Set 16 : dont create cookie counter if not needed #

Patch Set 17 : rebase #

Patch Set 18 : improve string description #

Total comments: 6

Patch Set 19 : small fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+645 lines, -3 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_counter_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/browsing_data/browsing_data_counter_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_counter_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 4 chunks +26 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/site_data_counter.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/site_data_counter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/site_data_counting_helper.h View 1 2 3 4 5 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/site_data_counting_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +246 lines, -0 lines 0 comments Download
A chrome/browser/browsing_data/site_data_counting_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +212 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -0 lines 0 comments Download
M components/browsing_data_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 56 (43 generated)
dullweber
Hi Martin, please have a look at this cl. There is still some debug output ...
3 years, 11 months ago (2017-01-09 09:47:11 UTC) #19
msramek
I left the first round of comments. I didn't review the logic of the counter ...
3 years, 11 months ago (2017-01-09 12:54:44 UTC) #20
dullweber
https://codereview.chromium.org/2594723002/diff/80001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2594723002/diff/80001/chrome/browser/BUILD.gn#newcode183 chrome/browser/BUILD.gn:183: "browsing_data/cookie_counter.cc", On 2017/01/09 12:54:43, msramek wrote: > Please remove ...
3 years, 11 months ago (2017-01-09 16:05:47 UTC) #23
msramek
https://codereview.chromium.org/2594723002/diff/140001/chrome/browser/browsing_data/site_data_counting_helper.cc File chrome/browser/browsing_data/site_data_counting_helper.cc (right): https://codereview.chromium.org/2594723002/diff/140001/chrome/browser/browsing_data/site_data_counting_helper.cc#newcode103 chrome/browser/browsing_data/site_data_counting_helper.cc:103: GetOriginsFromHostContentSettignsMap(hcsm, APP_BANNER would also be removed as a part ...
3 years, 11 months ago (2017-01-10 10:23:03 UTC) #24
dullweber
https://codereview.chromium.org/2594723002/diff/140001/chrome/browser/browsing_data/site_data_counting_helper.cc File chrome/browser/browsing_data/site_data_counting_helper.cc (right): https://codereview.chromium.org/2594723002/diff/140001/chrome/browser/browsing_data/site_data_counting_helper.cc#newcode103 chrome/browser/browsing_data/site_data_counting_helper.cc:103: GetOriginsFromHostContentSettignsMap(hcsm, On 2017/01/10 10:23:02, msramek wrote: > APP_BANNER would ...
3 years, 11 months ago (2017-01-10 13:18:35 UTC) #25
msramek
Thanks. I think this looks good now, but there are still unnecessary files that should ...
3 years, 11 months ago (2017-01-10 13:46:32 UTC) #26
dullweber
I changed the browsertest to a unittest and fixed the filepath encoding. I hope the ...
3 years, 11 months ago (2017-01-10 17:14:38 UTC) #33
msramek
LGTM, thanks! But as I said, please do not land before we confirm the string. ...
3 years, 11 months ago (2017-01-10 17:21:33 UTC) #34
dullweber
I changed this cl, so that the cookie counter will only be created if the ...
3 years, 9 months ago (2017-03-03 12:24:14 UTC) #48
msramek
LGTM % comments. We'll definitely need to improve the string in the future, as it ...
3 years, 9 months ago (2017-03-06 09:40:58 UTC) #49
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/2594723002/360001
3 years, 9 months ago (2017-03-06 10:44:39 UTC) #52
dullweber
https://codereview.chromium.org/2594723002/diff/340001/chrome/browser/browsing_data/browsing_data_counter_factory.cc File chrome/browser/browsing_data/browsing_data_counter_factory.cc (right): https://codereview.chromium.org/2594723002/diff/340001/chrome/browser/browsing_data/browsing_data_counter_factory.cc#newcode66 chrome/browser/browsing_data/browsing_data_counter_factory.cc:66: return base::MakeUnique<SiteDataCounter>(profile); On 2017/03/06 09:40:57, msramek wrote: > style: ...
3 years, 9 months ago (2017-03-06 10:44:53 UTC) #53
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 11:39:45 UTC) #56
Message was sent while issue was closed.
Committed patchset #19 (id:360001) as
https://chromium.googlesource.com/chromium/src/+/04af4448e4833d6d1e9e06059ab9...

Powered by Google App Engine
This is Rietveld 408576698