| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes consumers of IPC::Message to generally refer
refer to base::Pickle instead when performing serialization
and deserialization operations. The few specific instances
where the IPC::Message interface (Read/WriteAttachent) is
needed can safely be static_cast'd, as IPC::Message is the
only public subclass of base::Pickle.
The purpose of this change is to facilitate the transition
to Mojo IPC, as we've trained the Mojo bindings layer to
use existing ParamTraits<T> parameterized over base::Pickle.
To support this base::Pickle has had some stub interfaces
added for WriteAttachment and ReadAttachment, along with a
Pickle::Attachment.
A follow-up patch will add sizing traits to the standard
IPC_STRUCT macros, enabling the majority of Chrome IPC
structs to be carried over Mojo message pipes as-is.
BUG=577685
R=jam@chromium.org
Review URL: https://codereview.chromium.org/1659003003
Cr-Commit-Position: refs/heads/master@{#373323}
|
|
|
|
|
|
|
|
|
|
| |
This CL also fixes a simple bug in the constructor of MachPortMac.
BUG=535711
Review URL: https://codereview.chromium.org/1395723004
Cr-Commit-Position: refs/heads/master@{#353349}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL consists of a small refactor, a small change in ownership semantics, and
a lot of documentation.
The refactor removes a |const| qualifier from brokerable message attachments
that are passed to the attachment broker. This allows for an improvement to
ownership semantics for MachPortMac.
BUG=535711
Review URL: https://codereview.chromium.org/1385143002
Cr-Commit-Position: refs/heads/master@{#352938}
|
|
This is part of the plumbing required to allow attachment brokers to pass mach
ports between processes.
BUG=535711
Review URL: https://codereview.chromium.org/1372303006
Cr-Commit-Position: refs/heads/master@{#351852}
|