| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ | 5 #ifndef ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ |
| 6 #define ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ | 6 #define ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace base { | 10 namespace base { |
| 11 class FilePath; | 11 class FilePath; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace android_webview { | 14 namespace android_webview { |
| 15 namespace crash_reporter { | 15 namespace crash_reporter { |
| 16 | 16 |
| 17 void EnableCrashReporter(const std::string& process_type, int crash_signal_fd); | 17 void EnableCrashReporter(const std::string& process_type, int crash_signal_fd); |
| 18 bool GetCrashDumpLocation(base::FilePath* crash_dir); | 18 bool GetCrashDumpLocation(base::FilePath* crash_dir); |
| 19 void AddGpuFingerprintToMicrodumpCrashHandler( | 19 void AddGpuFingerprintToMicrodumpCrashHandler( |
| 20 const std::string& gpu_fingerprint); | 20 const std::string& gpu_fingerprint); |
| 21 bool DumpWithoutCrashingToFd(int fd); | 21 bool DumpWithoutCrashingToFd(int fd); |
| 22 bool IsCrashReporterEnabled(); | 22 bool IsCrashReporterEnabled(); |
| 23 void SuppressDumpGeneration(); |
| 23 } // namespace crash_reporter | 24 } // namespace crash_reporter |
| 24 } // namespace android_webview | 25 } // namespace android_webview |
| 25 | 26 |
| 26 #endif // ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ | 27 #endif // ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ |
| OLD | NEW |