Chromium Code Reviews
DescriptionRemove dependency of AsyncResourceLoader on c/b/host_zoom_map_impl.h
This is accomplished by adding a ResourceDispatcherHostDelegate wrapper
around the existing delegate that allows delegation from network back to
content to do the content-specific functionality, before then delegating
onwards to the existing content client (chrome). This new class is
called ContentResourceDispatcherHostDelegate.
Additionally, to be able to install the
ContentResourceDispatcherHostDelegate, there's a
ContentResourceDispatcherHost that wraps ResourceDispatcherHostImpl so
that SetDelegate can wrap the new delegate around the existing one.
After all that boilerplate, we can move the use of
content/browser/host_zoom_map_impl.cc|h to
ContentResourceDispatcherHostDelegate to avoid having c/b/loader use it
in OnRequestStarted().
R=jam@chromium.org
BUG=609607, 598073
Patch Set 1 #
Total comments: 1
Patch Set 2 : missed override #Depends on Patchset: Messages
Total messages: 3 (1 generated)
|