Index: content/shell/browser/shell_browser_main_parts.cc |
diff --git a/content/shell/browser/shell_browser_main_parts.cc b/content/shell/browser/shell_browser_main_parts.cc |
index ae1f590c1c146493f6d7103847874c94197915c8..08f60692ffd5a05eef4bf0f402be4396e4a33678 100644 |
--- a/content/shell/browser/shell_browser_main_parts.cc |
+++ b/content/shell/browser/shell_browser_main_parts.cc |
@@ -19,6 +19,7 @@ |
#include "content/public/common/content_switches.h" |
#include "content/public/common/main_function_params.h" |
#include "content/public/common/url_constants.h" |
+#include "content/shell/android/shell_descriptors.h" |
#include "content/shell/browser/shell.h" |
#include "content/shell/browser/shell_access_token_store.h" |
#include "content/shell/browser/shell_browser_context.h" |
@@ -173,7 +174,9 @@ int ShellBrowserMainParts::PreCreateThreads() { |
base::FilePath crash_dumps_dir = |
base::CommandLine::ForCurrentProcess()->GetSwitchValuePath( |
switches::kCrashDumpsDir); |
- crash_dump_manager_.reset(new breakpad::CrashDumpManager(crash_dumps_dir)); |
+ breakpad::CrashDumpObserver::GetInstance()->RegisterClient( |
+ base::MakeUnique<breakpad::CrashDumpManager>( |
+ crash_dumps_dir, kAndroidMinidumpDescriptor)); |
} |
return 0; |