| 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 android_webview { | 10 namespace android_webview { |
| 11 namespace crash_reporter { | 11 namespace crash_reporter { |
| 12 | 12 |
| 13 void EnableMicrodumpCrashReporter(const std::string& process_type); | 13 void EnableMicrodumpCrashReporter(const std::string& process_type, |
| 14 int crash_signal_fd); |
| 14 void AddGpuFingerprintToMicrodumpCrashHandler( | 15 void AddGpuFingerprintToMicrodumpCrashHandler( |
| 15 const std::string& gpu_fingerprint); | 16 const std::string& gpu_fingerprint); |
| 16 bool DumpWithoutCrashingToFd(int fd); | 17 bool DumpWithoutCrashingToFd(int fd); |
| 17 } // namespace crash_reporter | 18 } // namespace crash_reporter |
| 18 } // namespace android_webview | 19 } // namespace android_webview |
| 19 | 20 |
| 20 #endif // ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ | 21 #endif // ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ |
| OLD | NEW |