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

Unified Diff: chrome/test/base/mash_browser_tests_main.cc

Issue 2643853005: chromeos: Initial support for crash reporting for chrome --mash (Closed)
Patch Set: sadrul comments Created 3 years, 11 months 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
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | services/service_manager/public/cpp/standalone_service/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/mash_browser_tests_main.cc
diff --git a/chrome/test/base/mash_browser_tests_main.cc b/chrome/test/base/mash_browser_tests_main.cc
index 52c1055ff68f41914c72b1212aca51ac738c8179..e20f3e12873316422202c9bd21127a29a0282dae 100644
--- a/chrome/test/base/mash_browser_tests_main.cc
+++ b/chrome/test/base/mash_browser_tests_main.cc
@@ -7,6 +7,7 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/debug/debugger.h"
+#include "base/debug/stack_trace.h"
#include "base/i18n/icu_util.h"
#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
@@ -152,6 +153,11 @@ bool RunMashBrowserTests(int argc, char** argv, int* exit_code) {
base::AtExitManager exit_manager;
#endif
base::i18n::InitializeICU();
+
+#if !defined(OFFICIAL_BUILD)
+ base::debug::EnableInProcessStackDumping();
+#endif
+
service_manager::RunStandaloneService(base::Bind(&StartChildApp));
*exit_code = 0;
return true;
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | services/service_manager/public/cpp/standalone_service/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698