-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move servable_ etc. to PrefetchResponseReader
This CL further moves members needed for serving from `PrefetchStreamingURLLoader` to `PrefetchResponseReader`, as preparation to make PrefetchContainer servable multiple times as long as `PrefetchResponseReader` is alive. This CL slightly changes the ordering between setting `head_` and calling `on_prefetch_response_started_callback_` in `PrefetchStreamingURLLoader::OnReceiveResponse()`, but this shouldn't affect the behavior because the dependency between those two were removed by https://chromium-review.googlesource.com/c/chromium/src/+/4671133. Bug: 1449360 Change-Id: I4675153f240da0704aafe09eb807e443e41995bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4671134 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by: Max Curran <curranmax@chromium.org> Reviewed-by: Lingqi Chi <lingqi@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/main@{#1184454}
- Loading branch information
1 parent
f2bff59
commit 334d0fa
Showing
8 changed files
with
171 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.