| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 #elif defined(OS_POSIX) | 9 #elif defined(OS_POSIX) |
| 10 #include <sys/types.h> | 10 #include <sys/types.h> |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 MessageLoop::current()->Run(); | 529 MessageLoop::current()->Run(); |
| 530 return true; | 530 return true; |
| 531 } | 531 } |
| 532 | 532 |
| 533 #endif // PERFORMANCE_TEST | 533 #endif // PERFORMANCE_TEST |
| 534 | 534 |
| 535 int main(int argc, char** argv) { | 535 int main(int argc, char** argv) { |
| 536 #ifdef PERFORMANCE_TEST | 536 #ifdef PERFORMANCE_TEST |
| 537 int retval = PerfTestSuite(argc, argv).Run(); | 537 int retval = PerfTestSuite(argc, argv).Run(); |
| 538 #else | 538 #else |
| 539 int retval = base::TestSuite(argc, argv).Run(); | 539 int retval = TestSuite(argc, argv).Run(); |
| 540 #endif | 540 #endif |
| 541 return retval; | 541 return retval; |
| 542 } | 542 } |
| OLD | NEW |