commit | 6007e062656231be2fd934d19777c7082604b939 | [log] [tgz] |
---|---|---|
author | Yutaka Hirano <yhirano@chromium.org> | Thu Dec 27 04:04:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 27 04:04:21 2018 |
tree | 0aadafe2f990555ae91c8524d00cfe207bcb14a4 | |
parent | 8d0a752703b8c49110b747cf733e0c6e42ec719d [diff] |
Refactor ResourceFetcher factory functions in FrameFetchContext - FrameFetchContext::CreateFetcherFromDocument sounds too generic. It's for HTML imports, so rename it to FrameFetchContext::CreateFetcherForImportedDocument. - Rename FrameFetchContext::CreateFetcherFromDocumentLoader to FrameFetchContext::CreateFetcher because it is the default path. - FrameFetchContext::FrameFetchContext(DocumentLoader*, Document*) expects exactly one of its two arguments is non-null. Split it to two for readability. Bug: 914739 Change-Id: I50343f067d1b7687849ea348fadcd365567fcd6a Reviewed-on: https://chromium-review.googlesource.com/c/1388354 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#619000}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .