Add StartInstance helper on CrashReporter
This commit is contained in:
parent
170c51ae85
commit
795b674996
5 changed files with 28 additions and 32 deletions
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "atom/common/atom_version.h"
|
||||
#include "atom/common/chrome_version.h"
|
||||
#include "atom/common/crash_reporter/crash_reporter.h"
|
||||
#include "atom/common/native_mate_converters/string16_converter.h"
|
||||
#include "atom/common/node_includes.h"
|
||||
#include "base/logging.h"
|
||||
|
@ -161,9 +160,4 @@ void AtomBindings::Crash() {
|
|||
static_cast<DummyClass*>(nullptr)->crash = true;
|
||||
}
|
||||
|
||||
// static
|
||||
void AtomBindings::StartCrashReporter(const mate::Dictionary& options) {
|
||||
crash_reporter::CrashReporter::GetInstance()->StartWithOptions(options);
|
||||
}
|
||||
|
||||
} // namespace atom
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "base/macros.h"
|
||||
#include "base/strings/string16.h"
|
||||
#include "native_mate/dictionary.h"
|
||||
#include "v8/include/v8.h"
|
||||
#include "vendor/node/deps/uv/include/uv.h"
|
||||
|
||||
|
@ -30,7 +29,6 @@ class AtomBindings {
|
|||
|
||||
static void Log(const base::string16& message);
|
||||
static void Crash();
|
||||
static void StartCrashReporter(const mate::Dictionary& options);
|
||||
|
||||
private:
|
||||
void ActivateUVLoop(v8::Isolate* isolate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue