tools/profiler/gecko/nsProfiler.h
author Benoit Girard <b56girard@gmail.com>
Tue, 30 Jun 2015 15:03:45 -0400
changeset 251392 94714c206f188a4587bdcb4d00ec72019c0925ca
parent 234933 tools/profiler/nsProfiler.h@ac4464790ec4896a5188fa50cfc69ae0ffeddc08
child 265825 8f489e406701f08833fae12f66ab22f5a0d0315e
permissions -rw-r--r--
Bug 1178892 - Split the profiler into Core & Gecko files and break apart monolithic headers. r=mstange

/* -*- 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 "nsIObserver.h"
#include "mozilla/Attributes.h"

class nsProfiler final : public nsIProfiler, public nsIObserver
{
public:
    nsProfiler();

    NS_DECL_ISUPPORTS
    NS_DECL_NSIOBSERVER
    NS_DECL_NSIPROFILER

    nsresult Init();
private:
    ~nsProfiler();
    bool mLockedForPrivateBrowsing;
};

#endif /* _NSPROFILER_H_ */