Bug 867104 - Add a crashtest. r=ehsan
[gecko.git] / toolkit / crashreporter / InjectCrashReporter.h
blobc315277f5e6a802fe7a086b28e7ab27c77ac4515
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsThreadUtils.h"
7 #include <windows.h>
9 namespace mozilla {
11 class InjectCrashRunnable : public nsRunnable
13 public:
14 InjectCrashRunnable(DWORD pid);
16 NS_IMETHOD Run();
18 private:
19 DWORD mPID;
20 nsString mInjectorPath;
23 } // Namespace mozilla