commit | 78058863524db0c3a2d7f014730b3ccb2c3832f4 | [log] [tgz] |
---|---|---|
author | Hiroshige Hayashizaki <hiroshige@chromium.org> | Thu Feb 21 00:02:57 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Feb 21 00:02:57 2019 |
tree | 86c9d1420b543b37c1a972d8b62a6cb629ba0ed6 | |
parent | c326c82a795b007a16cf209dea0550be1401d9a1 [diff] |
Remove ExecutionContext dependency from willSendRequest() etc. probes This CL removes ExecutionContext from the following probe methods, and instead passes CoreProbeSink: - prepareRequest() - didBlockRequest() - willSendRequest() - willSendNavigationRequest() The ExecutionContext was simply not used, except for ExecutionContext::Url() inside willSendRequest(). This CL calls FetchContext::Url() at the caller and pass the URL instead of the whole ExecutionContext. After this CL, all probe calls from WorkerFetchContext no longer take WorkerGlobalScope as their argument, which is good for separating WorkerFetchContext from WorkerGlobalScope for off-the-main-thread fetch. Bug: 880027 Change-Id: Idb648c9d809ca6fd95de090fa3b7249b7bb71b9e Reviewed-on: https://chromium-review.googlesource.com/c/1383911 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#633959}
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 .