OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // This file was forked from components/crash/app/breakpad_linux.h in chromium. | |
6 | |
7 // Public interface for enabling Breakpad on Linux systems. | |
8 | |
9 #ifndef COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_ | |
viettrungluu
2015/07/27 20:28:36
Please update the include guards.
qsr
2015/07/28 08:46:23
Done.
| |
10 #define COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_ | |
11 | |
12 #include <string> | |
viettrungluu
2015/07/27 20:28:36
This include doesn't appear to be needed.
qsr
2015/07/28 08:46:22
Done.
| |
13 | |
14 #include "base/files/file_path.h" | |
15 #include "build/build_config.h" | |
viettrungluu
2015/07/27 20:28:36
"
qsr
2015/07/28 08:46:22
Done.
| |
16 | |
17 namespace breakpad { | |
18 | |
19 // Turns on the crash reporter. | |
20 extern void InitCrashReporter(const base::FilePath& dumps_path); | |
viettrungluu
2015/07/27 20:28:36
Why is this declared extern?
qsr
2015/07/28 08:46:22
Because I missed this from the place it has been f
| |
21 | |
22 // Checks if crash reporting is enabled. | |
23 bool IsCrashReporterEnabled(); | |
24 | |
25 } // namespace breakpad | |
26 | |
27 #endif // COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_ | |
OLD | NEW |