commit | 3e126191c1a7a022260c1072b1b9288f09bb2dce | [log] [tgz] |
---|---|---|
author | Ken Rockot <rockot@chromium.org> | Tue Jul 10 22:39:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 10 22:39:51 2018 |
tree | 4ba535ea0821bb7dd83f1fb8ca54c90b87f48a78 | |
parent | ec61662d85a62c81c48dca04e4a6f2ba599967c0 [diff] |
Use BigBuffer for legacy IPC messages This replaces use of ReadOnlyBuffer with a new mojom Message type specific to //ipc. This type maps to another new C++ MessageView type which in turn wraps a BigBufferView. This allows us to transparently fall back onto shared memory for large IPC messages without increasing the number of copies during send or receive in any (small- or large-message) cases. In order to avoid introducing more mojo-base targets, this also removes the remaining [Native] structs from mojo_base mojom (LOGFONT and FileInfo) and replaces them with real mojom structures + StructTraits, thus allowing //ipc to depend on mojo/public/*/base in its entirety. Also fixes random missing public_deps entries for a chrome/services/file_util typemap, because it decided to start breaking all of my local builds. :3 Bug: 784069 Change-Id: I359b964ffc1fe44ffd6aa704405ea63156f4fbc9 Reviewed-on: https://chromium-review.googlesource.com/1131685 Commit-Queue: Ken Rockot <rockot@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#573956}
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 .