michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 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 __PROFILER_BACKTRACE_H michael@0: #define __PROFILER_BACKTRACE_H michael@0: michael@0: class SyncProfile; michael@0: michael@0: class ProfilerBacktrace michael@0: { michael@0: public: michael@0: ProfilerBacktrace(SyncProfile* aProfile); michael@0: ~ProfilerBacktrace(); michael@0: michael@0: void StreamJSObject(JSStreamWriter& b); michael@0: michael@0: private: michael@0: ProfilerBacktrace(const ProfilerBacktrace&); michael@0: ProfilerBacktrace& operator=(const ProfilerBacktrace&); michael@0: michael@0: SyncProfile* mProfile; michael@0: }; michael@0: michael@0: #endif // __PROFILER_BACKTRACE_H michael@0: