2011-11-05 01:07:50 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2011-11-05 01:07:50 +04:00
|
|
|
|
|
|
|
#ifndef _NSPROFILER_H_
|
|
|
|
#define _NSPROFILER_H_
|
|
|
|
|
|
|
|
#include "nsIProfiler.h"
|
2012-12-18 03:25:50 +04:00
|
|
|
#include "nsIObserver.h"
|
2012-07-19 08:42:48 +04:00
|
|
|
#include "mozilla/Attributes.h"
|
2011-11-05 01:07:50 +04:00
|
|
|
|
2012-12-18 03:25:50 +04:00
|
|
|
class nsProfiler MOZ_FINAL : public nsIProfiler, public nsIObserver
|
2011-11-05 01:07:50 +04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
nsProfiler();
|
|
|
|
|
|
|
|
NS_DECL_ISUPPORTS
|
2012-12-18 03:25:50 +04:00
|
|
|
NS_DECL_NSIOBSERVER
|
2011-11-05 01:07:50 +04:00
|
|
|
NS_DECL_NSIPROFILER
|
2012-12-18 03:25:50 +04:00
|
|
|
|
|
|
|
nsresult Init();
|
|
|
|
private:
|
2014-06-24 02:40:03 +04:00
|
|
|
~nsProfiler();
|
2012-12-18 03:25:50 +04:00
|
|
|
bool mLockedForPrivateBrowsing;
|
2011-11-05 01:07:50 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _NSPROFILER_H_ */
|
|
|
|
|