| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <atlbase.h> | 5 #include <atlbase.h> |
| 6 #include <atlcom.h> | 6 #include <atlcom.h> |
| 7 |
| 7 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
| 8 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 9 #include "base/process.h" | 10 #include "base/process/kill.h" |
| 11 #include "base/process/process.h" |
| 10 #include "chrome_frame/crash_server_init.h" | 12 #include "chrome_frame/crash_server_init.h" |
| 11 #include "chrome_frame/test/chrome_frame_test_utils.h" | 13 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 12 #include "gtest/gtest.h" | 14 #include "gtest/gtest.h" |
| 13 | 15 |
| 14 class ObligatoryModule: public CAtlExeModuleT<ObligatoryModule> { | 16 class ObligatoryModule: public CAtlExeModuleT<ObligatoryModule> { |
| 15 }; | 17 }; |
| 16 | 18 |
| 17 ObligatoryModule g_obligatory_atl_module; | 19 ObligatoryModule g_obligatory_atl_module; |
| 18 | 20 |
| 19 static base::AtExitManager* g_at_exit_manager = NULL; | 21 static base::AtExitManager* g_at_exit_manager = NULL; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 37 | 39 |
| 38 CommandLine::Init(argc, argv); | 40 CommandLine::Init(argc, argv); |
| 39 | 41 |
| 40 RUN_ALL_TESTS(); | 42 RUN_ALL_TESTS(); |
| 41 | 43 |
| 42 g_at_exit_manager = NULL; | 44 g_at_exit_manager = NULL; |
| 43 | 45 |
| 44 if (crash_service) | 46 if (crash_service) |
| 45 base::KillProcess(crash_service, 0, false); | 47 base::KillProcess(crash_service, 0, false); |
| 46 } | 48 } |
| OLD | NEW |