toolkit/crashreporter/InjectCrashReporter.h
author Jonathan Kew <jkew@mozilla.com>
Wed, 08 Oct 2014 10:32:50 +0100
changeset 224781 681c4450639e2d9c7ccca1e48514ed4a35bf6552
parent 203294 ca251a28d3ddae784436d28829fb019025f4b127
child 319313 fcc0936b576daa150697671849a191009ca33811
permissions -rw-r--r--
Bug 1079314 - Remove the mWritingMode field from logical-coordinate objects in non-debug builds. r=smontagu

/* -*- 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 nsRunnable
{
public:
  InjectCrashRunnable(DWORD pid);

  NS_IMETHOD Run();

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

#endif