Refactor web time activity usage.
This cl refactors WebTimeActivityProvider from keeping a map between active browser instances and their active web contents. The map is not necessary and has been replaced by active browser instances. We can easily get access to the active web content via the tab strip model of the browser instance. There is no change in the functionality of the code. Bug: 1051201 Change-Id: I38c928118fe0eb68c5593188e3db2d570e78ce9e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181186 Commit-Queue: Yilkal Abe <yilkal@chromium.org> Reviewed-by:Aga Wronska <agawronska@chromium.org> Cr-Commit-Position: refs/heads/master@{#765355}
Showing
Please register or sign in to comment