2013-06-01 07:57:37 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2013-11-13 09:29:35 +00:00
|
|
|
#ifndef ATOM_COMMON_API_ATOM_API_CRASH_REPORTER_H_
|
|
|
|
#define ATOM_COMMON_API_ATOM_API_CRASH_REPORTER_H_
|
2013-06-01 07:57:37 +00:00
|
|
|
|
|
|
|
#include "base/basictypes.h"
|
|
|
|
#include "v8/include/v8.h"
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
|
|
|
namespace api {
|
|
|
|
|
|
|
|
class CrashReporter {
|
|
|
|
public:
|
|
|
|
static void Initialize(v8::Handle<v8::Object> target);
|
|
|
|
|
|
|
|
private:
|
2013-11-14 05:33:09 +00:00
|
|
|
static v8::Handle<v8::Value> Start(const v8::Arguments& args);
|
2013-06-01 07:57:37 +00:00
|
|
|
|
|
|
|
DISALLOW_IMPLICIT_CONSTRUCTORS(CrashReporter);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace api
|
|
|
|
|
|
|
|
} // namespace atom
|
|
|
|
|
2013-11-13 09:29:35 +00:00
|
|
|
#endif // ATOM_COMMON_API_ATOM_API_CRASH_REPORTER_H_
|