| Index: chrome_frame/chrome_frame_unittest_main.cc
|
| ===================================================================
|
| --- chrome_frame/chrome_frame_unittest_main.cc (revision 90395)
|
| +++ chrome_frame/chrome_frame_unittest_main.cc (working copy)
|
| @@ -6,6 +6,9 @@
|
| #include <atlcom.h>
|
| #include "base/at_exit.h"
|
| #include "base/command_line.h"
|
| +#include "base/process.h"
|
| +#include "chrome_frame/crash_server_init.h"
|
| +#include "chrome_frame/test/chrome_frame_test_utils.h"
|
| #include "gtest/gtest.h"
|
|
|
| class ObligatoryModule: public CAtlExeModuleT<ObligatoryModule> {
|
| @@ -26,9 +29,18 @@
|
|
|
| base::AtExitManager at_exit_manager;
|
| g_at_exit_manager = &at_exit_manager;
|
| +
|
| + base::ProcessHandle crash_service = chrome_frame_test::StartCrashService();
|
| +
|
| + google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad(
|
| + InitializeCrashReporting(HEADLESS));
|
| +
|
| CommandLine::Init(argc, argv);
|
|
|
| RUN_ALL_TESTS();
|
|
|
| g_at_exit_manager = NULL;
|
| +
|
| + if (crash_service)
|
| + base::KillProcess(crash_service, 0, false);
|
| }
|
|
|