-
Mohammad Refaat authored
Remove the usage of it in BVC and TabModel and replace with SessionRestorationBrowserAgent directly. Also remove isRestoring from TabModel and use the one from SessionRestorationBrowserAgent directly when needed. Update earlgrey test util to use SessionRestorationBrowserAgent instead of tabModel for saving sessions. Also remove the tests which uses the saveSessionImmediately method from tabModel unittests as similar tests exist in SessionRestorationAgent tests. Bug: 1045226 Change-Id: Iafd7062ce505c466e7cf2a76e49ef3301dbcd6d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2018173 Commit-Queue: Mohammad Refaat <mrefaat@chromium.org> Reviewed-by:
Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/master@{#735568}
707b9422