blob: 47e537ca238679ea9453b2f70198e66e881bca94 [file] [log] [blame]
[email protected]0b818f72013-10-22 00:11:031// Copyright 2013 The Chromium Authors. All rights reserved.
[email protected]9a5d2a52009-05-22 03:37:452// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]97425082013-07-16 03:10:075// Public interface for enabling Breakpad on Linux systems.
[email protected]d8d59132013-05-29 23:43:126
[email protected]0b818f72013-10-22 00:11:037#ifndef COMPONENTS_BREAKPAD_APP_BREAKPAD_LINUX_H_
8#define COMPONENTS_BREAKPAD_APP_BREAKPAD_LINUX_H_
[email protected]9a5d2a52009-05-22 03:37:459
[email protected]d8d59132013-05-29 23:43:1210#include "build/build_config.h"
[email protected]892996332012-11-22 04:54:4111
[email protected]0b818f72013-10-22 00:11:0312namespace breakpad {
13
[email protected]d8d59132013-05-29 23:43:1214// Turns on the crash reporter in any process.
[email protected]1e7377d2009-05-28 20:23:0615extern void InitCrashReporter();
[email protected]d8d59132013-05-29 23:43:1216
17// Enables the crash reporter in child processes.
[email protected]40da3e0c2012-10-24 22:03:3818#if defined(OS_ANDROID)
[email protected]82174aa2013-01-22 21:53:4319extern void InitNonBrowserCrashReporterForAndroid();
[email protected]40da3e0c2012-10-24 22:03:3820#endif
[email protected]d8d59132013-05-29 23:43:1221
22// Checks if crash reporting is enabled. Note that this is not the same as
23// being opted into metrics reporting (and crash reporting), which controls
24// whether InitCrashReporter() is called.
[email protected]b8d6ae12009-12-10 02:02:2025bool IsCrashReporterEnabled();
[email protected]2eb41e72009-07-15 23:07:3426
[email protected]0b818f72013-10-22 00:11:0327} // namespace breakpad
28
29#endif // COMPONENTS_BREAKPAD_APP_BREAKPAD_LINUX_H_