commit | 408d6ef14d42e8a526e1c772ad1ed81b839212fc | [log] [tgz] |
---|---|---|
author | Hiroki Nakagawa <nhiroki@chromium.org> | Tue Mar 27 08:28:13 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 27 08:28:13 2018 |
tree | 689f6a10d79759f3419cc0e51b481560f29fd37a | |
parent | 0eadbe3790c9fe78c3c392da409020a334cca7ac [diff] |
WebSocket: Reduce dependencies on Document This is a preparation CL for enabling to establish WebSocket connections off the main thread. This CL reduces dependencies on Document in DocumentWebSocketChannel as a first step for making it thread-safe. Specifically, this CL replaces GetDocument() calls with GetExecutionContext() calls, and makes the channel get SubresourceFilter not from DocumentLoader buf from BaseFetchContext. Bug: 825740 Change-Id: Ibe49fa09a613818ec972b40a8141f7eecc5a3861 Reviewed-on: https://chromium-review.googlesource.com/981732 Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/master@{#546061}
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 .