| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome_frame/test/reliability/reliability_test_suite.h" | 5 #include "chrome_frame/test/reliability/reliability_test_suite.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/process/kill.h" |
| 8 #include "chrome/common/chrome_paths.h" | 9 #include "chrome/common/chrome_paths.h" |
| 9 #include "chrome_frame/test/chrome_frame_test_utils.h" | 10 #include "chrome_frame/test/chrome_frame_test_utils.h" |
| 10 #include "chrome_frame/test_utils.h" | 11 #include "chrome_frame/test_utils.h" |
| 11 #include "chrome_frame/utils.h" | 12 #include "chrome_frame/utils.h" |
| 12 | 13 |
| 13 static const char kRegisterDllFlag[] = "register"; | 14 static const char kRegisterDllFlag[] = "register"; |
| 14 | 15 |
| 15 int main(int argc, char **argv) { | 16 int main(int argc, char **argv) { |
| 16 ScopedChromeFrameRegistrar::RegisterAndExitProcessIfDirected(); | 17 ScopedChromeFrameRegistrar::RegisterAndExitProcessIfDirected(); |
| 17 // We create this slightly early as it is the one who instantiates THE | 18 // We create this slightly early as it is the one who instantiates THE |
| (...skipping 24 matching lines...) Expand all Loading... |
| 42 result = test_suite.Run(); | 43 result = test_suite.Run(); |
| 43 } | 44 } |
| 44 | 45 |
| 45 DeleteConfigValue(kChromeFrameHeadlessMode); | 46 DeleteConfigValue(kChromeFrameHeadlessMode); |
| 46 if (crash_service) | 47 if (crash_service) |
| 47 base::KillProcess(crash_service, 0, false); | 48 base::KillProcess(crash_service, 0, false); |
| 48 | 49 |
| 49 return result; | 50 return result; |
| 50 } | 51 } |
| 51 | 52 |
| OLD | NEW |