tor-browser

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

PHeapSnapshotTempFileHelper.ipdl (833B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
      2  * vim: set ts=8 sts=4 et sw=4 tw=99:
      3  * This Source Code Form is subject to the terms of the Mozilla Public
      4  * License, v. 2.0. If a copy of the MPL was not distributed with this
      5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 include protocol PContent;
      8 
      9 namespace mozilla {
     10 namespace devtools {
     11 
     12 struct OpenedFile
     13 {
     14     nsString       path;
     15     nsString       snapshotId;
     16     FileDescriptor descriptor;
     17 };
     18 
     19 union OpenHeapSnapshotTempFileResponse
     20 {
     21     nsresult;
     22     OpenedFile;
     23 };
     24 
     25 [ManualDealloc]
     26 sync protocol PHeapSnapshotTempFileHelper
     27 {
     28     manager PContent;
     29 
     30 parent:
     31     sync OpenHeapSnapshotTempFile() returns (OpenHeapSnapshotTempFileResponse response);
     32 
     33     async __delete__();
     34 };
     35 
     36 } // namespace devtools
     37 } // namespace mozilla