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

Side by Side Diff: components/crash/content/app/breakpad_linux.h

Issue 1351923002: Revert of Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « components/crash/content/app/DEPS ('k') | components/crash/content/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
(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 // Public interface for enabling Breakpad on Linux systems.
6
7 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
8 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
9
10 #include <string>
11
12 #include "build/build_config.h"
13
14 namespace breakpad {
15
16 // Turns on the crash reporter in any process.
17 extern void InitCrashReporter(const std::string& process_type);
18
19 // Enables the crash reporter in child processes.
20 #if defined(OS_ANDROID)
21 extern void InitNonBrowserCrashReporterForAndroid(
22 const std::string& process_type);
23 #endif
24
25 // Checks if crash reporting is enabled. Note that this is not the same as
26 // being opted into metrics reporting (and crash reporting), which controls
27 // whether InitCrashReporter() is called.
28 bool IsCrashReporterEnabled();
29
30 } // namespace breakpad
31
32 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « components/crash/content/app/DEPS ('k') | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698