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

Issue 2910923002: Define DATA_TYPE_SITE_DATA in terms of DATA_TYPE_DOM_STORAGE. (Closed)

Created:
3 years, 6 months ago by msramek
Modified:
3 years, 6 months ago
Reviewers:
Mike West
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Define DATA_TYPE_SITE_DATA in terms of DATA_TYPE_DOM_STORAGE. DATA_TYPE_SITE_DATA, i.e. "Cookies and site data" as presented to the user in the Clear Browsing Data UI, is a superset of DATA_TYPE_DOM_STORAGE, which represents the "storage" datatype in Clear-Site-Data. Define it as such to avoid duplication. Furthermore, this CL fixes a bug where DATA_TYPE_EMBEDDER_DOM_STORAGE, one of the components of DATA_TYPE_DOM_STORAGE, was not a part of DATA_TYPE_SITE_DATA. While this had no effect on DATA_TYPE_SITE_DATA, it meant that DATA_TYPE_EMBEDDER_DOM_STORAGE was not part of FILTERABLE_DATATYPES, making Clear-Site-Data for "storage" DCHECK(). BUG=668114 Review-Url: https://codereview.chromium.org/2910923002 Cr-Commit-Position: refs/heads/master@{#475370} Committed: https://chromium.googlesource.com/chromium/src/+/168dc2f3cb966091dcca1abb798b5c4ebd7c5437

Patch Set 1 #

Patch Set 2 : Added tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -43 lines) Patch
M chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h View 1 chunk +1 line, -7 lines 0 comments Download
M chrome/browser/extensions/api/browsing_data/browsing_data_test.cc View 1 2 chunks +33 lines, -36 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
msramek
Hi Mike, Please have a look at this one as well! I discovered this bug ...
3 years, 6 months ago (2017-05-29 07:20:56 UTC) #4
Mike West
The code change looks reasonable, but several `ExtensionBrowsingDataTest.*` tests are failing.
3 years, 6 months ago (2017-05-29 08:04:42 UTC) #7
Mike West
On 2017/05/29 at 08:04:42, Mike West wrote: > The code change looks reasonable, but several ...
3 years, 6 months ago (2017-05-29 08:05:57 UTC) #8
msramek
Oh yeah, these tests always goes red when there is a change to SITE_DATA. Will ...
3 years, 6 months ago (2017-05-29 10:59:38 UTC) #9
Mike West
On 2017/05/29 at 10:59:38, msramek wrote: > Oh yeah, these tests always goes red when ...
3 years, 6 months ago (2017-05-29 12:03:50 UTC) #10
msramek
On 2017/05/29 12:03:50, Mike West wrote: > On 2017/05/29 at 10:59:38, msramek wrote: > > ...
3 years, 6 months ago (2017-05-29 16:46:24 UTC) #15
Mike West
Ok. LGTM, thanks for the explanation.
3 years, 6 months ago (2017-05-29 18:36:15 UTC) #16
msramek
Thanks!
3 years, 6 months ago (2017-05-29 18:57:10 UTC) #17
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/2910923002/20001
3 years, 6 months ago (2017-05-29 18:57:57 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-05-29 19:01:42 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/168dc2f3cb966091dcca1abb798b...

Powered by Google App Engine
This is Rietveld 408576698