Re-introduce new Clear Browsing Data UI
Partial manual revert of https://crrev.com/c/903245 to accomodate the refactoring done in ios/chrome/browser/browsing_data. Notable changes: - removed class IOSBrowsingDataCounterFactory that was used purely for namespacing a static function and instead used a free function in an anonymous namespace - use BrowsingDataRemoverObserver to watch for removal of browsing data instead of using subscription with the old global CallbackList - introduced chrome://flags#new-clear-browsing-data-ui flags (backed by a feature) to enable or disable the new UI - fix presubmit checks by converting uses of base::Bind to base::Bind{Repeating,Once} - re-enabled disabled tests Bug: 760084 Change-Id: I18a59144f2ba461e096d1e009261a2e717e463b7 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Reviewed-on: https://chromium-review.googlesource.com/939624 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:Olivier Robin <olivierrobin@chromium.org> Reviewed-by:
Martin Šrámek <msramek@chromium.org> Cr-Commit-Position: refs/heads/master@{#540144}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment