netwerk/base/nsNetworkInfoService.h
author Andrew Halberstadt <ahalberstadt@mozilla.com>
Thu, 25 May 2017 11:48:03 -0400
changeset 410946 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
parent 339009 83b448bdcd80cfc1ccc0ede3165a5db64d2529b1
child 505383 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted This commit is a simple 'hg mv' and does not contain any file modifications. *** Bug 1346025 - Split vendored modules in python/moz.build to third_party/python/moz.build, r=ted *** Bug 1346025 - Update references to moved python modules, r=ted MozReview-Commit-ID: A12RnIFtXju

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_net_nsNetworkInfoService_h
#define mozilla_net_nsNetworkInfoService_h

#include "nsISupportsImpl.h"
#include "mozilla/ErrorResult.h"

#include "nsINetworkInfoService.h"

#define NETWORKINFOSERVICE_CID \
{ 0x296d0900, 0xf8ef, 0x4df0, \
  { 0x9c, 0x35, 0xdb, 0x58, 0x62, 0xab, 0xc5, 0x8d } }

namespace mozilla {
namespace net {

class nsNetworkInfoService final
  : public nsINetworkInfoService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINETWORKINFOSERVICE

  nsresult Init();

  explicit nsNetworkInfoService();

private:
  virtual ~nsNetworkInfoService() = default;
};

} // namespace net
} // namespace mozilla

#endif // mozilla_dom_nsNetworkInfoService_h