| OLD | NEW |
| 1 // Copyright (c) 2011 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/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/json/json_value_serializer.h" | |
| 8 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 9 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 10 #include "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
| 11 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
| 12 #include "base/values.h" | 11 #include "base/values.h" |
| 13 #include "chrome/common/chrome_paths.h" | 12 #include "chrome/common/chrome_paths.h" |
| 14 #include "chrome/test/automation/tab_proxy.h" | 13 #include "chrome/test/automation/tab_proxy.h" |
| 15 #include "chrome/test/perf/perf_test.h" | 14 #include "chrome/test/perf/perf_test.h" |
| 16 #include "chrome/test/ui/javascript_test_util.h" | 15 #include "chrome/test/ui/javascript_test_util.h" |
| 17 #include "chrome/test/ui/ui_perf_test.h" | 16 #include "chrome/test/ui/ui_perf_test.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 } | 137 } |
| 139 | 138 |
| 140 TEST_F(SunSpiderReferenceTest, Perf) { | 139 TEST_F(SunSpiderReferenceTest, Perf) { |
| 141 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunSunSpider)) | 140 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunSunSpider)) |
| 142 return; | 141 return; |
| 143 | 142 |
| 144 RunTest(); | 143 RunTest(); |
| 145 } | 144 } |
| 146 | 145 |
| 147 } // namespace | 146 } // namespace |
| OLD | NEW |