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/environment.h" | 5 #include "base/environment.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/files/file_enumerator.h" | 7 #include "base/files/file_enumerator.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
10 #include "base/strings/string_split.h" | 10 #include "base/strings/string_split.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/common/env_vars.h" | 21 #include "chrome/common/env_vars.h" |
22 #include "chrome/test/automation/automation_proxy.h" | 22 #include "chrome/test/automation/automation_proxy.h" |
23 #include "chrome/test/base/test_switches.h" | 23 #include "chrome/test/base/test_switches.h" |
24 #include "chrome/test/base/testing_profile.h" | 24 #include "chrome/test/base/testing_profile.h" |
25 #include "chrome/test/base/ui_test_utils.h" | 25 #include "chrome/test/base/ui_test_utils.h" |
26 #include "chrome/test/perf/perf_test.h" | 26 #include "chrome/test/perf/perf_test.h" |
27 #include "chrome/test/perf/perf_ui_test_suite.h" | 27 #include "chrome/test/perf/perf_ui_test_suite.h" |
28 #include "chrome/test/ui/ui_perf_test.h" | 28 #include "chrome/test/ui/ui_perf_test.h" |
29 #include "content/public/common/content_switches.h" | 29 #include "content/public/common/content_switches.h" |
30 #include "net/base/net_util.h" | 30 #include "net/base/net_util.h" |
| 31 #include "testing/perf/perf_test.h" |
31 | 32 |
32 using base::TimeDelta; | 33 using base::TimeDelta; |
33 using base::TimeTicks; | 34 using base::TimeTicks; |
34 | 35 |
35 namespace { | 36 namespace { |
36 | 37 |
37 class StartupTest : public UIPerfTest { | 38 class StartupTest : public UIPerfTest { |
38 public: | 39 public: |
39 StartupTest() { | 40 StartupTest() { |
40 show_window_ = true; | 41 show_window_ = true; |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 } | 473 } |
473 | 474 |
474 TEST_F(StartupTest, ProfilingScript1) { | 475 TEST_F(StartupTest, ProfilingScript1) { |
475 SetUpWithFileURL(); | 476 SetUpWithFileURL(); |
476 SetUpWithProfiling(); | 477 SetUpWithProfiling(); |
477 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT, | 478 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT, |
478 PerfUITestSuite::DEFAULT_THEME, 1, 0); | 479 PerfUITestSuite::DEFAULT_THEME, 1, 0); |
479 } | 480 } |
480 | 481 |
481 } // namespace | 482 } // namespace |
OLD | NEW |