commit | b52031f2bd48cb9aa63d001c080c6040a9609f6b | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <hiroshige@chromium.org> | Wed Dec 05 06:19:37 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 05 06:19:37 2018 |
tree | 21421a096eb5488b69dd1605764da580e240eb30 | |
parent | e82243c3b17af75e80481f89580f339b5edf18e2 [diff] |
Remove ExecutionContext::CreateFetchClientSettingsObjectSnapshot() Previously, there are two kinds of FetchClientSettingsObject instances that originate from the same ExecutionContext but are created via different, duplicated code paths: [1] FetchClientSettingsObjectImpl and [2] FetchClientSettingsObjectSnapshot created by ExecutionContext::CreateFetchClientSettingsObjectSnapshot(). To simplify the data flow this CL replaces [2] with: [3] FetchClientSettingsObjectSnapshot created from [1] by a newly added FetchClientSettingsObjectSnapshot copy-ish constructor. After this CL, it is easier to add logic to FetchClientSettingsObjectImpl methods, as its return values are propagated to FetchClientSettingsObjectSnapshot, without adding the same logic to CreateFetchClientSettingsObjectSnapshot(). (For example https://chromium-review.googlesource.com/1351929). Bug: 880027 Change-Id: I207ef34dd44923bccb0d0813bb71ac72a0b15066 Reviewed-on: https://chromium-review.googlesource.com/c/1352972 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#613882}
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 .