gecko-dev/toolkit/crashreporter/InjectCrashReporter.h
Ting-Yu Chou 10ea845c91 Bug 1322465 part 11 - Use explicit/MOZ_IMPLICIT for the unary constructors in toolkit/. r=Ehsan
MozReview-Commit-ID: 7zdrF739NCL

--HG--
extra : rebase_source : 32d68c15e32c7d1046928d6782b6853cd56edd9a
2016-12-16 15:59:00 +08:00

29 lines
620 B
C++

/* -*- 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/. */
#ifndef InjectCrashReporter_h
#define InjectCrashReporter_h
#include "nsThreadUtils.h"
#include <windows.h>
namespace mozilla {
class InjectCrashRunnable : public Runnable
{
public:
explicit InjectCrashRunnable(DWORD pid);
NS_IMETHOD Run();
private:
DWORD mPID;
nsString mInjectorPath;
};
} // Namespace mozilla
#endif