27 lines
733 B
C++
27 lines
733 B
C++
// 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.
|
|
|
|
#ifndef ATOM_COMMON_CRASH_REPORTER_CRASH_REPORTER_H_
|
|
#define ATOM_COMMON_CRASH_REPORTER_CRASH_REPORTER_H_
|
|
|
|
#include <string>
|
|
|
|
#include "base/basictypes.h"
|
|
|
|
namespace crash_reporter {
|
|
|
|
class CrashReporter {
|
|
public:
|
|
static void SetProductName(const std::string& name);
|
|
static void SetCompanyName(const std::string& name);
|
|
static void SetSubmissionURL(const std::string& url);
|
|
static void SetAutoSubmit(bool yes);
|
|
|
|
private:
|
|
DISALLOW_IMPLICIT_CONSTRUCTORS(CrashReporter);
|
|
};
|
|
|
|
} // namespace crash_reporter
|
|
|
|
#endif // ATOM_COMMON_CRASH_REPORTER_CRASH_REPORTER_H_
|