Line data Source code
1 : #ifndef handler_service_parent_h
2 : #define handler_service_parent_h
3 :
4 : #include "mozilla/dom/PHandlerServiceParent.h"
5 : #include "nsIMIMEInfo.h"
6 :
7 : class nsIHandlerApp;
8 :
9 : class HandlerServiceParent final : public mozilla::dom::PHandlerServiceParent
10 : {
11 : public:
12 : HandlerServiceParent();
13 0 : NS_INLINE_DECL_REFCOUNTING(HandlerServiceParent)
14 :
15 : private:
16 : virtual ~HandlerServiceParent();
17 : virtual void ActorDestroy(ActorDestroyReason aWhy) override;
18 :
19 :
20 : virtual mozilla::ipc::IPCResult RecvFillHandlerInfo(const HandlerInfo& aHandlerInfoData,
21 : const nsCString& aOverrideType,
22 : HandlerInfo* handlerInfoData) override;
23 : virtual mozilla::ipc::IPCResult RecvExists(const HandlerInfo& aHandlerInfo,
24 : bool* exits) override;
25 :
26 : virtual mozilla::ipc::IPCResult RecvGetTypeFromExtension(const nsCString& aFileExtension,
27 : nsCString* type) override;
28 :
29 : };
30 :
31 : #endif
|