commit | 307321d474256f41b12b53220e4dec1f2d6fdba8 | [log] [tgz] |
---|---|---|
author | Keita Suzuki <suzukikeita@google.com> | Thu Mar 19 01:30:30 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 19 01:30:30 2020 |
tree | abb97f9776c9e2c133df9c212cb449c5aeb5efda | |
parent | 629f014965a3334ba557047f300cd4af0a7d194c [diff] |
[WebSocket] Add support to consume Datapipe in network service This commit adds support to network service to consume websocket frame data from mojo datapipe produced from blink. To achieve this, this commit adds a new message SendMessage() in mojo WebSocket interface. It also adds SimpleWatcher to watch the consumer and be notified when needed, and add callback function OnReadable() to support this. This commit also adds ReadAndSendFrameFromDataPipe() to actually consume data from the datapipe. The producer side of the datapipe and the caller of SendMessage() are not implemented yet for security review. WIP CLs are uploaded here: https://chromium-review.googlesource.com/c/chromium/src/+/2082869 https://chromium-review.googlesource.com/c/chromium/src/+/2083777 Design Doc: https://docs.google.com/document/d/1YWj1z9r8wxemGdod6S2tkchudhp6PvNaH3qSO0oucfY/ Bug: 1056030 Change-Id: I580e3776bf0f1a27e8d83e5c92087f5542b19cb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2071189 Commit-Queue: Keita Suzuki <suzukikeita@google.com> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Karan Bhatia <karandeepb@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Reviewed-by: Yoichi Osato <yoichio@chromium.org> Cr-Commit-Position: refs/heads/master@{#751557}
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.