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: android_webview/crash_reporter/aw_microdump_crash_reporter.h

Issue 2552753002: Do not generate a microdump if there are no webview pointers on the stack. (Closed)
Patch Set: set suppression flag Created 4 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 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 int crash_signal_fd);
15 void AddGpuFingerprintToMicrodumpCrashHandler( 15 void AddGpuFingerprintToMicrodumpCrashHandler(
16 const std::string& gpu_fingerprint); 16 const std::string& gpu_fingerprint);
17 void SetWebViewTextAddrRange(uintptr_t start, uintptr_t end);
17 bool DumpWithoutCrashingToFd(int fd); 18 bool DumpWithoutCrashingToFd(int fd);
18 } // namespace crash_reporter 19 } // namespace crash_reporter
19 } // namespace android_webview 20 } // namespace android_webview
20 21
21 #endif // ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_ 22 #endif // ANDROID_WEBVIEW_CRASH_REPORTER_AW_MICRODUMP_CRASH_REPORTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698