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

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

Issue 2635493002: Suppress browser microdump when renderer crashes in multiprocess WebView. (Closed)
Patch Set: reorder functions. again. Created 3 years, 11 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
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>
(...skipping 13 matching lines...) Expand all
24 // Enables the crash reporter in child processes. 24 // Enables the crash reporter in child processes.
25 extern void InitNonBrowserCrashReporterForAndroid( 25 extern void InitNonBrowserCrashReporterForAndroid(
26 const std::string& process_type); 26 const std::string& process_type);
27 27
28 // Enables *micro*dump only. Can be called from any process. 28 // Enables *micro*dump only. Can be called from any process.
29 extern void InitMicrodumpCrashHandlerIfNecessary( 29 extern void InitMicrodumpCrashHandlerIfNecessary(
30 const std::string& process_type); 30 const std::string& process_type);
31 31
32 extern void AddGpuFingerprintToMicrodumpCrashHandler( 32 extern void AddGpuFingerprintToMicrodumpCrashHandler(
33 const std::string& gpu_fingerprint); 33 const std::string& gpu_fingerprint);
34
35 // Calling SuppressDumpGeneration causes subsequent crashes to not
36 // generate dumps. Calling base::debug::DumpWithoutCrashing will still
37 // generate a dump.
38 extern void SuppressDumpGeneration();
34 #endif 39 #endif
35 40
36 // Checks if crash reporting is enabled. Note that this is not the same as 41 // Checks if crash reporting is enabled. Note that this is not the same as
37 // being opted into metrics reporting (and crash reporting), which controls 42 // being opted into metrics reporting (and crash reporting), which controls
38 // whether InitCrashReporter() is called. 43 // whether InitCrashReporter() is called.
39 bool IsCrashReporterEnabled(); 44 bool IsCrashReporterEnabled();
40 45
41 // Generates a minidump on demand for this process, writing it to |dump_fd|. 46 // Generates a minidump on demand for this process, writing it to |dump_fd|.
42 void GenerateMinidumpOnDemandForAndroid(int dump_fd); 47 void GenerateMinidumpOnDemandForAndroid(int dump_fd);
43 } // namespace breakpad 48 } // namespace breakpad
44 49
45 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_ 50 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_LINUX_H_
OLDNEW
« no previous file with comments | « android_webview/common/crash_reporter/aw_microdump_crash_reporter.cc ('k') | components/crash/content/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698