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