| 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_path.h" | 6 #include "base/file_path.h" |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/json/json_value_serializer.h" | |
| 9 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 10 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 11 #include "base/test/test_timeouts.h" | 10 #include "base/test/test_timeouts.h" |
| 12 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 13 #include "base/values.h" | 12 #include "base/values.h" |
| 14 #include "chrome/common/chrome_paths.h" | 13 #include "chrome/common/chrome_paths.h" |
| 15 #include "chrome/test/automation/tab_proxy.h" | 14 #include "chrome/test/automation/tab_proxy.h" |
| 16 #include "chrome/test/perf/perf_test.h" | 15 #include "chrome/test/perf/perf_test.h" |
| 17 #include "chrome/test/ui/javascript_test_util.h" | 16 #include "chrome/test/ui/javascript_test_util.h" |
| 18 #include "chrome/test/ui/ui_perf_test.h" | 17 #include "chrome/test/ui/ui_perf_test.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 #endif | 145 #endif |
| 147 | 146 |
| 148 TEST_F(V8BenchmarkReferenceTest, MAYBE_Perf) { | 147 TEST_F(V8BenchmarkReferenceTest, MAYBE_Perf) { |
| 149 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunV8Benchmark)) | 148 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunV8Benchmark)) |
| 150 return; | 149 return; |
| 151 | 150 |
| 152 RunTest(); | 151 RunTest(); |
| 153 } | 152 } |
| 154 | 153 |
| 155 } // namespace | 154 } // namespace |
| OLD | NEW |