michael@0: /* -*- Mode: C++; tab-width: 50; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim:set ts=2 sw=2 sts=2 ci et: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_SystemMemoryReporter_h_ michael@0: #define mozilla_SystemMemoryReporter_h_ michael@0: michael@0: namespace mozilla { michael@0: namespace SystemMemoryReporter { michael@0: michael@0: // This only works on Linux, but to make callers' lives easier, we stub out michael@0: // empty functions on other platforms. michael@0: michael@0: #if defined(XP_LINUX) michael@0: void Init(); michael@0: #else michael@0: void Init() {} michael@0: #endif michael@0: michael@0: } // namespace SystemMemoryReporter michael@0: } // namespace mozilla michael@0: michael@0: #endif