Line data Source code
1 : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /* vim: set sw=4 ts=8 et tw=80 : */
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 : #ifndef mozilla_devtools_HeapSnapshotTempFileHelperParent_h
8 : #define mozilla_devtools_HeapSnapshotTempFileHelperParent_h
9 :
10 : #include "mozilla/devtools/PHeapSnapshotTempFileHelperParent.h"
11 :
12 : namespace mozilla {
13 : namespace devtools {
14 :
15 0 : class HeapSnapshotTempFileHelperParent : public PHeapSnapshotTempFileHelperParent
16 : {
17 0 : explicit HeapSnapshotTempFileHelperParent() { }
18 0 : void ActorDestroy(ActorDestroyReason why) override { }
19 : mozilla::ipc::IPCResult RecvOpenHeapSnapshotTempFile(OpenHeapSnapshotTempFileResponse* outResponse)
20 : override;
21 :
22 : public:
23 : static inline PHeapSnapshotTempFileHelperParent* Create();
24 : };
25 :
26 : /* static */ inline PHeapSnapshotTempFileHelperParent*
27 0 : HeapSnapshotTempFileHelperParent::Create()
28 : {
29 0 : return new HeapSnapshotTempFileHelperParent();
30 : }
31 :
32 : } // namespace devtools
33 : } // namespace mozilla
34 :
35 : #endif // mozilla_devtools_HeapSnapshotTempFileHelperParent_h
|