Bug 1526591 - Remove devtools.inspector.shapesHighlighter.enabled pref. r=rcaliman
[gecko.git] / netwerk / base / nsNetworkInfoService.h
blob7f40b840e623e31921710f42e2e9138bd63269c2
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"
11 #include "mozilla/ErrorResult.h"
13 #include "nsINetworkInfoService.h"
15 #define NETWORKINFOSERVICE_CID \
16 { \
17 0x296d0900, 0xf8ef, 0x4df0, { \
18 0x9c, 0x35, 0xdb, 0x58, 0x62, 0xab, 0xc5, 0x8d \
19 } \
22 namespace mozilla {
23 namespace net {
25 class nsNetworkInfoService final : public nsINetworkInfoService {
26 public:
27 NS_DECL_ISUPPORTS
28 NS_DECL_NSINETWORKINFOSERVICE
30 nsresult Init();
32 explicit nsNetworkInfoService();
34 private:
35 virtual ~nsNetworkInfoService() = default;
38 } // namespace net
39 } // namespace mozilla
41 #endif // mozilla_dom_nsNetworkInfoService_h