tools/profiler/gecko/nsProfilerStartParams.h
author Benoit Girard <b56girard@gmail.com>
Tue, 30 Jun 2015 15:03:45 -0400
changeset 251392 94714c206f188a4587bdcb4d00ec72019c0925ca
parent 216536 tools/profiler/nsProfilerStartParams.h@b6e38f77069fb895879f936f4a2740cdf257976f
child 356720 ec6226c96adc7e2a9c4b171073892c054e393293
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 _NSPROFILERSTARTPARAMS_H_
#define _NSPROFILERSTARTPARAMS_H_

#include "nsIProfiler.h"
#include "nsString.h"
#include "nsTArray.h"

class nsProfilerStartParams : public nsIProfilerStartParams
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPROFILERSTARTPARAMS

  nsProfilerStartParams(uint32_t aEntries,
                        double aInterval,
                        const nsTArray<nsCString>& aFeatures,
                        const nsTArray<nsCString>& aThreadFilterNames);

private:
  virtual ~nsProfilerStartParams();
  uint32_t mEntries;
  double mInterval;
  nsTArray<nsCString> mFeatures;
  nsTArray<nsCString> mThreadFilterNames;
};

#endif