| Index: android_webview/browser/aw_browser_main_parts.cc
|
| diff --git a/android_webview/browser/aw_browser_main_parts.cc b/android_webview/browser/aw_browser_main_parts.cc
|
| index d0fe336c15ed164d5b7f7a7e3ae40979124e90ee..8d09c8110efd97dbe911da239d037dd1fdffea8e 100644
|
| --- a/android_webview/browser/aw_browser_main_parts.cc
|
| +++ b/android_webview/browser/aw_browser_main_parts.cc
|
| @@ -18,6 +18,7 @@
|
| #include "base/command_line.h"
|
| #include "base/files/file_path.h"
|
| #include "base/path_service.h"
|
| +#include "components/crash/content/browser/crash_micro_dump_manager_android.h"
|
| #include "content/public/browser/android/synchronous_compositor.h"
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/render_process_host.h"
|
| @@ -75,6 +76,10 @@ int AwBrowserMainParts::PreCreateThreads() {
|
| base::android::MemoryPressureListenerAndroid::RegisterSystemCallback(
|
| base::android::AttachCurrentThread());
|
| DeferredGpuCommandService::SetInstance();
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kSingleProcess)) {
|
| + crash_micro_dump_manager_.reset(new breakpad::CrashMicroDumpManager());
|
| + }
|
|
|
| return content::RESULT_CODE_NORMAL_EXIT;
|
| }
|
|
|