toolkit/crashreporter/InjectCrashReporter.h
author Kartikaya Gupta <kgupta@mozilla.com>
Wed, 11 Sep 2013 18:17:20 -0400
changeset 146653 ce483735e803a650b37b8a334271b304bca93c1d
parent 98166 52b93da290236f84bf62bac550eb07a4e359be01
child 160404 94c2cc05679453898d8104e9052dd3b83e050875
permissions -rw-r--r--
Bug 912806 - Special-case the resolution behaviour on Fennec to work around other bugs. r=tn

/* -*- 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