DescriptionReland "Split BrowsingDataRemoverTest into two tests for Impl and Delegate."
This relands https://codereview.chromium.org/2641853002/ which was reverted
in https://codereview.chromium.org/2641853002/.
Patchset #1 is the exact copy of the original CL.
Patchset #2 is the fix.
The breakage occured in the test
ChromeBrowsingDataRemoverDelegateTest.RemoveMultipleTypesHistoryProhibited
and was not spotted locally, as this test is behind the ifdef:
"defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)"
The problem was that the helper class StoragePartitionRemovalData was
missing, as it had been moved to BrowsingDataRemoverImplTest during
the split. To avoid copying the class into this test file, we changed
the mask from COOKIES to PASSWORDS (which, unlike COOKIES, do not live
in StoragePartition). This does not affect the validy of the test, as its
purpose is to verify that if history deletion is prohibited and HISTORY
is present in the mask, it is not deleted, but other types still are.
BUG=668114
Review-Url: https://codereview.chromium.org/2651673002
Cr-Commit-Position: refs/heads/master@{#445402}
Committed: https://chromium.googlesource.com/chromium/src/+/44727f4d42756a3d89e1466ba662548e40c752c8
Patch Set 1 : Revert of revert #Patch Set 2 : Fix. #
Total comments: 2
Patch Set 3 : Added a TODO. #
Messages
Total messages: 30 (24 generated)
|