| 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 "base/memory/scoped_ptr.h" | 5 #include "base/memory/scoped_ptr.h" |
| 6 #include "base/process/kill.h" |
| 6 #include "base/test/perf_test_suite.h" | 7 #include "base/test/perf_test_suite.h" |
| 7 #include "base/threading/platform_thread.h" | 8 #include "base/threading/platform_thread.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 void PureCall() { | 14 void PureCall() { |
| 14 __debugbreak(); | 15 __debugbreak(); |
| 15 } | 16 } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 33 | 34 |
| 34 int ret = perf_suite.Run(); | 35 int ret = perf_suite.Run(); |
| 35 | 36 |
| 36 DeleteConfigValue(kChromeFrameHeadlessMode); | 37 DeleteConfigValue(kChromeFrameHeadlessMode); |
| 37 DeleteConfigValue(kChromeFrameUnpinnedMode); | 38 DeleteConfigValue(kChromeFrameUnpinnedMode); |
| 38 | 39 |
| 39 if (crash_service) | 40 if (crash_service) |
| 40 base::KillProcess(crash_service, 0, false); | 41 base::KillProcess(crash_service, 0, false); |
| 41 return ret; | 42 return ret; |
| 42 } | 43 } |
| OLD | NEW |