Chromium Code Reviews
DescriptionRemove usage of DomDistillerService in ReadingListDownloadService.
DomDistillerService is a service destined to display a distilled version to the user.
It's settings are optimized to distill pages that are already fully loaded and to
display the page to the user as fast as possible (through a cache feature)..
ReadingList has a different objective.
Download the page in background and store the result for a later use.
ReadingList does not want cache, sync or storage of distilled articles.
This led to have special cases in the usage of DomDistillerService in ReadingList
code. But the fundamental issue is that ReadingListDownloadService should not
use DomDistillerService and directly use the distiller.
This will avoid side effects if some settings changes for ReaderMode.
Remove dependency to the DomDistillerService and use directly the distiller.
BUG=686640
Review-Url: https://codereview.chromium.org/2666643002
Cr-Commit-Position: refs/heads/master@{#447986}
Committed: https://chromium.googlesource.com/chromium/src/+/38219b8d2fbcb7cb75723e3602bda3ce314f0ec2
Patch Set 1 #Patch Set 2 : clean #Patch Set 3 : cleaner #Patch Set 4 : missing JS #
Total comments: 8
Patch Set 5 : feedback #
Total comments: 2
Messages
Total messages: 25 (16 generated)
|