Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: components/breakpad/app/breakpad_linux.h

Issue 31243002: Move Linux/Android breakpad implementation to breakpad component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/breakpad/app/breakpad_client.cc ('k') | components/breakpad/app/breakpad_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Public interface for enabling Breakpad on Linux systems. 5 // Public interface for enabling Breakpad on Linux systems.
6 6
7 #ifndef CHROME_APP_BREAKPAD_LINUX_H_ 7 #ifndef COMPONENTS_BREAKPAD_APP_BREAKPAD_LINUX_H_
8 #define CHROME_APP_BREAKPAD_LINUX_H_ 8 #define COMPONENTS_BREAKPAD_APP_BREAKPAD_LINUX_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
12 namespace breakpad {
13
12 // Turns on the crash reporter in any process. 14 // Turns on the crash reporter in any process.
13 extern void InitCrashReporter(); 15 extern void InitCrashReporter();
14 16
15 // Enables the crash reporter in child processes. 17 // Enables the crash reporter in child processes.
16 #if defined(OS_ANDROID) 18 #if defined(OS_ANDROID)
17 extern void InitNonBrowserCrashReporterForAndroid(); 19 extern void InitNonBrowserCrashReporterForAndroid();
18 #endif 20 #endif
19 21
20 // Checks if crash reporting is enabled. Note that this is not the same as 22 // Checks if crash reporting is enabled. Note that this is not the same as
21 // being opted into metrics reporting (and crash reporting), which controls 23 // being opted into metrics reporting (and crash reporting), which controls
22 // whether InitCrashReporter() is called. 24 // whether InitCrashReporter() is called.
23 bool IsCrashReporterEnabled(); 25 bool IsCrashReporterEnabled();
24 26
25 #endif // CHROME_APP_BREAKPAD_LINUX_H_ 27 } // namespace breakpad
28
29 #endif // COMPONENTS_BREAKPAD_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « components/breakpad/app/breakpad_client.cc ('k') | components/breakpad/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698