Chromium Code Reviews
DescriptionPrefetch active tab state.
- Store the active tab id as a shared preference every time the tab
list is saved.
- Add a new AsyncTask to prefetch the previous active tab's TabState.
The results of this task is used instead of synchronously restoring
the active tab's TabState on startup.
- Currently, if the active tab model is incognito, then this will not
speed up startup. The active incognito tab (if any) can be
considered for prefetching later.
BUG=612574, 149625
Committed: https://crrev.com/9685a9834992f2b8bb95bd0e3816034dce2fe2fd
Cr-Commit-Position: refs/heads/master@{#398551}
Patch Set 1 #Patch Set 2 : Always update pref value. #
Total comments: 2
Patch Set 3 : Add unit test, fix pref apply. #Patch Set 4 : Fix tests. #
Total comments: 4
Patch Set 5 : Remove unnecessary final. #
Messages
Total messages: 24 (10 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||