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

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

Issue 1518913002: [Android WebView] Update microdump generation for sandboxed renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disabled failing test Created 5 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ 7 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
8 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ 8 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 namespace breakpad { 14 namespace breakpad {
15 15
16 // Turns on the crash reporter in any process. 16 // Turns on the crash reporter in any process.
17 extern void InitCrashReporter(const std::string& process_type); 17 extern void InitCrashReporter(const std::string& process_type);
18 18
19 #if defined(OS_ANDROID)
19 // Enables the crash reporter in child processes. 20 // Enables the crash reporter in child processes.
20 #if defined(OS_ANDROID)
21 extern void InitNonBrowserCrashReporterForAndroid( 21 extern void InitNonBrowserCrashReporterForAndroid(
22 const std::string& process_type); 22 const std::string& process_type);
23 23
24 // Enables *micro*dump only. Can be calleed from any process.
Torne 2015/12/11 15:41:41 typo: calleed
mnaganov (inactive) 2015/12/11 16:21:04 Done.
25 extern void InitMicrodumpCrashHandlerIfNecessary(
26 const std::string& process_type);
27
24 extern void AddGpuFingerprintToMicrodumpCrashHandler( 28 extern void AddGpuFingerprintToMicrodumpCrashHandler(
25 const std::string& gpu_fingerprint); 29 const std::string& gpu_fingerprint);
26 #endif 30 #endif
27 31
28 // Checks if crash reporting is enabled. Note that this is not the same as 32 // Checks if crash reporting is enabled. Note that this is not the same as
29 // being opted into metrics reporting (and crash reporting), which controls 33 // being opted into metrics reporting (and crash reporting), which controls
30 // whether InitCrashReporter() is called. 34 // whether InitCrashReporter() is called.
31 bool IsCrashReporterEnabled(); 35 bool IsCrashReporterEnabled();
32 36
33 } // namespace breakpad 37 } // namespace breakpad
34 38
35 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ 39 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.cc ('k') | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698