зеркало из https://github.com/mozilla/gecko-dev.git
0e88912e37
The Chromium-derived IPC code was, as far as I can tell, originally designed for Windows and assumed that channels would be named pipes, managed and connected to via `std::wstring` paths. The port to Unix, however, used unnamed `socketpair()` and passed them directly from process to process, so it has no use for these channel IDs... but it still computes and propagates them, even though they're not used, using deprecated wide-string APIs. This patch introduces a typedef for an abstract channel ID, which is a `wstring` on Windows and an empty struct on Unix, to allow removing the string code where it's not needed without needing to completely redesign the channel abstraction. Differential Revision: https://phabricator.services.mozilla.com/D72260 |
||
---|---|---|
.. | ||
src | ||
chromium-config.mozbuild | ||
moz.build |