tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PTestHangs.ipdl (640B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2  * License, v. 2.0. If a copy of the MPL was not distributed with this
      3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 [MoveOnly] using mozilla::CrossProcessSemaphoreHandle from "mozilla/ipc/CrossProcessSemaphore.h";
      6 
      7 namespace mozilla {
      8 namespace _ipdltest {
      9 
     10 [ChildProc=any, ChildImpl=virtual, ParentImpl=virtual]
     11 sync protocol PTestHangs {
     12 parent:
     13     sync Hang(uint32_t hangMode, CrossProcessSemaphoreHandle timeout);
     14 child:
     15     async Start(uint32_t hangMode)
     16         returns (bool detectedHang);
     17 };
     18 
     19 } // namespace _ipdltest
     20 } // namespace mozilla