TabDiscarder: Move the logging from TabManager to TabActivityWatcher.
Currently TabDiscarder logging happens inside TabManager::DiscardTab which is not ideal. This CL moves the logging to TabActivityWatcher::SortLifecycleUnitWithTabRanker so that we can log exact the queried tabs. Bug: 968366 Change-Id: I1ca457be59c548a3eb88aa209125d48707147a18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1633894 Commit-Queue: Charles . <charleszhao@chromium.org> Reviewed-by:François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#665009}
Showing
Please register or sign in to comment