[OnionSoup] Move URLLoaderClientImpl into blink
URLLoaderClientImpl is an implementation of network::mojom::URLLoaderClient and used by ResourceDispatcher only to receives messages from a single URLLoader, it couples with the ResourceDispatcher tightly. As part of the OnionSoup project, this patch implements: 1. Moves URLLoaderClientImpl to third_party/blink/public/platform/ and decouples it from the ResourceDispatcher by adding an interface of WebURLLoaderClientObserver. 2. Moves url_loader_client_impl_unittest.cc into blink and decouples it from the dependency of TestRequestPeer by implementing a MockWebURLLoaderClientObserver that mostly inherits the functionality of TestRequestPeer. So, after this patch, the TestRequestPeer will be only used by the unit test of ResourceDispatcher and could be removed with the ResourceDispatcher together eventually. Change-Id: I08793d58623713ee1fc40f9e2395e19ea141f952 Bug: 1110032 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560678Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Minggang Wang <minggang.wang@intel.com> Cr-Commit-Position: refs/heads/master@{#834642}
Showing
This diff is collapsed.
Please register or sign in to comment