Bug 1516240 - Part 1: Expose whether a cross-process channel is in use, r=mccr8

Differential Revision: https://phabricator.services.mozilla.com/D19177

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nika Layzell 2019-02-13 21:02:51 +00:00
Родитель 4dc81a9cde
Коммит 4dc7fc3d64
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -312,6 +312,11 @@ class MessageChannel : HasResultCodes, MessageLoop::DestructionObserver {
sIsPumpingMessages = aIsPumping;
}
/**
* Does this MessageChannel cross process boundaries?
*/
bool IsCrossProcess() const { return mIsCrossProcess; }
#ifdef OS_WIN
struct MOZ_STACK_CLASS SyncStackFrame {
SyncStackFrame(MessageChannel* channel, bool interrupt);