Bug 1804798 - Explicitly set auto page name (and corresponding debug flag) when inser...
[gecko.git] / netwerk / base / nsNetworkInfoService.h
blobd7b449b96fcd594ccff411cae4e5799865c34938
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=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
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_net_nsNetworkInfoService_h
8 #define mozilla_net_nsNetworkInfoService_h
10 #include "nsISupportsImpl.h"
12 #include "nsINetworkInfoService.h"
14 #define NETWORKINFOSERVICE_CID \
15 { \
16 0x296d0900, 0xf8ef, 0x4df0, { \
17 0x9c, 0x35, 0xdb, 0x58, 0x62, 0xab, 0xc5, 0x8d \
18 } \
21 namespace mozilla {
22 namespace net {
24 class nsNetworkInfoService final : public nsINetworkInfoService {
25 public:
26 NS_DECL_ISUPPORTS
27 NS_DECL_NSINETWORKINFOSERVICE
29 nsresult Init();
31 explicit nsNetworkInfoService();
33 private:
34 virtual ~nsNetworkInfoService() = default;
37 } // namespace net
38 } // namespace mozilla
40 #endif // mozilla_dom_nsNetworkInfoService_h