1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 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/. */
7 #ifndef mozilla_net_NativeDNSResolverOverrideParent_h
8 #define mozilla_net_NativeDNSResolverOverrideParent_h
10 #include "mozilla/net/PNativeDNSResolverOverrideParent.h"
11 #include "nsINativeDNSResolverOverride.h"
16 class NativeDNSResolverOverrideParent
: public PNativeDNSResolverOverrideParent
,
17 public nsINativeDNSResolverOverride
{
20 NS_DECL_NSINATIVEDNSRESOLVEROVERRIDE
22 explicit NativeDNSResolverOverrideParent() = default;
23 static already_AddRefed
<nsINativeDNSResolverOverride
> GetSingleton();
26 virtual ~NativeDNSResolverOverrideParent() = default;
30 } // namespace mozilla
32 #endif // mozilla_net_NativeDNSResolverOverrideParent_h