DescriptionDeprecate the CallbackSubscription in BrowsingDataRemover
BrowsingDataRemover currently supports two notification systems:
1. BrowsingDataRemover::Observer
2. BrowsingDataRemover::CallbackSubscription
Remove #2 in favor of #1.
The NotificationDetails class which is returned by #2, and used by tests to
determine the parameters of the last call to BrowsingDataRemover, is replaced
by a public API of BrowsingDataRemover exposing the same values.
The consolidation of notifications will simplify the implementation of task
scheduler for removal tasks, as described in
https://docs.google.com/document/d/1oIbmZJlq5m5FvHcN7trCpp0h4mtydA0UfZasxEIe3P8/
BUG=630327
Committed: https://crrev.com/00117ff9b264b662930f8e10683fe2a0f7abef3f
Cr-Commit-Position: refs/heads/master@{#408378}
Patch Set 1 #Patch Set 2 : Cannot call methods on deleted object. #
Total comments: 2
Patch Set 3 : Initialize masks to -1 #
Messages
Total messages: 24 (16 generated)
|