Use shared state for ClearBrowsingDataPrefences
When the ClearBrowsingDataDialog is opened, a CBDPreferences is created for each of the tabs. Each preference queries for information about browsing history and fetches important sites. As these are non-trivial operations, a class is introduced to only request both infos once and share them between preferences. Bug: 804839 Change-Id: I8495bc2e2ebeaeb8640d9d0775f701911d0045c8 Reviewed-on: https://chromium-review.googlesource.com/883783 Commit-Queue: Christian Dullweber <dullweber@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#532377}
Showing
Please register or sign in to comment