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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 MessageLoop::current()->Run(); | 530 MessageLoop::current()->Run(); |
531 return true; | 531 return true; |
532 } | 532 } |
533 | 533 |
534 #endif // PERFORMANCE_TEST | 534 #endif // PERFORMANCE_TEST |
535 | 535 |
536 int main(int argc, char** argv) { | 536 int main(int argc, char** argv) { |
537 #ifdef PERFORMANCE_TEST | 537 #ifdef PERFORMANCE_TEST |
538 int retval = PerfTestSuite(argc, argv).Run(); | 538 int retval = PerfTestSuite(argc, argv).Run(); |
539 #else | 539 #else |
540 int retval = TestSuite(argc, argv).Run(); | 540 int retval = base::TestSuite(argc, argv).Run(); |
541 #endif | 541 #endif |
542 return retval; | 542 return retval; |
543 } | 543 } |
OLD | NEW |