toolkit/crashreporter/InjectCrashReporter.h
author Geoff Brown <gbrown@mozilla.com>
Thu, 03 Jan 2013 13:02:01 -0700
changeset 117487 386333461d424e5f1e5db7ee619f6c6143a5d1ef
parent 98136 52b93da290236f84bf62bac550eb07a4e359be01
child 164682 94c2cc05679453898d8104e9052dd3b83e050875
permissions -rw-r--r--
Bug 824724 - Allow --remoteTestRoot option in remotecppunittests.py; r=jmaher

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */

#include "nsThreadUtils.h"
#include <windows.h>

namespace mozilla {

class InjectCrashRunnable : public nsRunnable
{
public:
  InjectCrashRunnable(DWORD pid);

  NS_IMETHOD Run();

private:
  DWORD mPID;
  nsString mInjectorPath;
};
  
} // Namespace mozilla