Chromium Code Reviews
Description[Offline pages] Filter out pages cached by different tabs on tab helper
* Updating a tab helper to fetch all offline pages with a given URL and filter out the ones with different Tab IDs
* Adds test for that behavior
* Refactors GetTabId to OfflinePageUtils
* Adds Delegate for getting tab id in OPTabHelper, to fix tests
* Updates Client policy for last_n to allow multiple pages for single URL (to handle multiple tabs opening the same page)
BUG=622424
R=dimich@chromium.org
Committed: https://crrev.com/7a82d3168ecc9779d821f17ff69e6697d38ee8da
Cr-Commit-Position: refs/heads/master@{#402563}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Updates based on CR #Patch Set 3 : Fixing tests, adding test for the selection code, fixing the policy for last_n #
Total comments: 2
Patch Set 4 : Updating comment to address CR #
Messages
Total messages: 16 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||