DescriptionMake wallpaper picker manifest and thumbnails available when offline.
This CL did the following:
1. Save/update manifest in chrome.storage.local when user successfully
requested latest manifest from server. If user failed to get manifest
from server(offline or server error), fallback to the manifest saved
in chrome.storage.local last time.
2. Lazily saves all requested thumbnails to thumbnails directory. And
load from that directory when user open wallpaper picker next time. Note
that thumbnails are shared across user session. So after one user saved
thumbnails, all other users will directly use the thumbnails that saved
in thumbnail directory.
BUG=158668
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171011
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : nit #Patch Set 5 : #Patch Set 6 : Comment nits #
Total comments: 33
Patch Set 7 : #Patch Set 8 : nit #Patch Set 9 : rebase #Patch Set 10 : Flackr's review #Patch Set 11 : Remove success paramter and add a todo #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|