|
1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ |
|
2 /* vim: set ts=2 et sw=2 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 file, |
|
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #ifndef mozilla_dom_fmradiorequestchild_h__ |
|
8 #define mozilla_dom_fmradiorequestchild_h__ |
|
9 |
|
10 #include "FMRadioCommon.h" |
|
11 #include "mozilla/dom/PFMRadioRequestChild.h" |
|
12 #include "DOMRequest.h" |
|
13 |
|
14 BEGIN_FMRADIO_NAMESPACE |
|
15 |
|
16 class FMRadioReplyRunnable; |
|
17 |
|
18 class FMRadioRequestChild MOZ_FINAL : public PFMRadioRequestChild |
|
19 { |
|
20 public: |
|
21 FMRadioRequestChild(FMRadioReplyRunnable* aReplyRunnable); |
|
22 ~FMRadioRequestChild(); |
|
23 |
|
24 virtual bool |
|
25 Recv__delete__(const FMRadioResponseType& aResponse) MOZ_OVERRIDE; |
|
26 |
|
27 private: |
|
28 nsRefPtr<FMRadioReplyRunnable> mReplyRunnable; |
|
29 }; |
|
30 |
|
31 END_FMRADIO_NAMESPACE |
|
32 |
|
33 #endif // mozilla_dom_fmradiorequestchild_h__ |
|
34 |