DescriptionRefactoring: Introduce ResouceLoaderHost interface for unloading ResourceLoader.
This moves several direct dependencies of ResourceLoader into
newly inroduced ResouceLoaderHost interface, which is implemented by
CachedResourceLoader.
The motivation here is to make ResourceLoader working without DocumentLoader
and FrameLoader so that scripts can be loaded through imported documents, which
doesn't have a DocumentLoader.
Note that CachedResourceLoader already lives without DocumentLoader in some case,
thus it is natural to localize such kind of complication there and keep ResourceLoader
straightforward.
BUG=240592
TEST=none
R=japhet@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154452
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154471
Patch Set 1 #
Total comments: 2
Patch Set 2 : For re-landing through CQ #Patch Set 3 : Fixed mac build failure. #Patch Set 4 : Another attempt #
Messages
Total messages: 13 (0 generated)
|