tor-browser

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

PGMPTimer.ipdl (700B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3  * License, v. 2.0. If a copy of the MPL was not distributed with this
      4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 include protocol PGMP;
      7 
      8 include "GMPTimerParent.h";
      9 include "GMPTimerChild.h";
     10 
     11 namespace mozilla {
     12 namespace gmp {
     13 
     14 [ManualDealloc, ChildImpl="GMPTimerChild", ParentImpl="GMPTimerParent"]
     15 async protocol PGMPTimer
     16 {
     17   manager PGMP;
     18 child:
     19   async TimerExpired(uint32_t aTimerId);
     20 parent:
     21   async SetTimer(uint32_t aTimerId, uint32_t aTimeoutMs);
     22   async __delete__();
     23 };
     24 
     25 } // namespace gmp
     26 } // namespace mozilla