hal/HalNetworkInformation.h
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 14 Dec 2018 09:07:18 +0000
changeset 450597 8160b9f376eefdfba360fb8d1a851c6dcf4bcd93
parent 448947 6f3709b3878117466168c40affa7bca0b60cf75b
permissions -rw-r--r--
Bug 1514104 - Remove vpx_mem_set_functions support. r=jya vpx_mem_set_functions support is only enabled when MOZ_VPX_NO_MEM_REPORTING is not set. It is currently set unconditionally when building with the in-tree libvpx. When building with system libvpx, it is set when the vpx_mem_set_functions can't be found in the system libvpx library. Upstream removed the vpx_mem_set_functions function in version 1.5, and we require at least that version, meaning, in practice, MOZ_VPX_NO_MEM_REPORTING is now always set. We might as well remove the define and the code that's conditional to not being defined. Differential Revision: https://phabricator.services.mozilla.com/D14517

/* -*- 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_HalNetworkInformation_h
#define mozilla_HalNetworkInformation_h

#include "mozilla/Observer.h"

namespace mozilla {
namespace hal {
class NetworkInformation;
typedef Observer<hal::NetworkInformation> NetworkObserver;
}  // namespace hal
}  // namespace mozilla

#endif  // mozilla_HalNetworkInformation_h