tools/profiler/nsProfiler.h
author Ehsan Akhgari <ehsan@mozilla.com>
Thu, 19 Jul 2012 00:42:48 -0400
changeset 102867 5c0899d7ac497a066c8c1e4b267beafeba10e88f
parent 96742 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 124688 f5ec1efd39ee839a506fd3d76636f73feb231495
permissions -rw-r--r--
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (tools/profiler parts); blanket-r=bzbarsky

/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* 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 _NSPROFILER_H_
#define _NSPROFILER_H_

#include "nsIProfiler.h"
#include "mozilla/Attributes.h"

class nsProfiler MOZ_FINAL : public nsIProfiler
{
public:
    nsProfiler();

    NS_DECL_ISUPPORTS

    NS_DECL_NSIPROFILER
};

#endif /* _NSPROFILER_H_ */