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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 1518913002: [Android WebView] Update microdump generation for sandboxed renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed typo 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 79dac36a2ecf812f89efba22d0e395e15443f6d4..c9340ff867e31a1290abfa148eb5f25f4b189a2f 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -170,8 +170,13 @@ void AwMainDelegate::PreSandboxStartup() {
ResourceBundle::GetSharedInstance().AddDataPackFromFileRegion(
base::File(pak_fd), pak_region, ui::SCALE_FACTOR_NONE);
}
+ if (process_type.empty() &&
+ command_line.HasSwitch(switches::kSingleProcess)) {
+ // "webview" has a special treatment in breakpad_linux.cc.
+ process_type = "webview";
+ }
- crash_reporter::EnableMicrodumpCrashReporter();
+ crash_reporter::EnableMicrodumpCrashReporter(process_type);
}
int AwMainDelegate::RunProcess(

Powered by Google App Engine
This is Rietveld 408576698