OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_split.h" | 10 #include "base/string_split.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
13 #include "base/test/test_file_util.h" | 13 #include "base/test/test_file_util.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
17 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
18 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
19 #include "chrome/common/env_vars.h" | 19 #include "chrome/common/env_vars.h" |
20 #include "chrome/test/automation/automation_proxy.h" | 20 #include "chrome/test/automation/automation_proxy.h" |
| 21 #include "chrome/test/base/ui_test_utils.h" |
21 #include "chrome/test/test_switches.h" | 22 #include "chrome/test/test_switches.h" |
22 #include "chrome/test/ui/ui_perf_test.h" | 23 #include "chrome/test/ui/ui_perf_test.h" |
23 #include "chrome/test/ui_test_utils.h" | |
24 #include "net/base/net_util.h" | 24 #include "net/base/net_util.h" |
25 | 25 |
26 using base::TimeDelta; | 26 using base::TimeDelta; |
27 using base::TimeTicks; | 27 using base::TimeTicks; |
28 | 28 |
29 namespace { | 29 namespace { |
30 | 30 |
31 class StartupTest : public UIPerfTest { | 31 class StartupTest : public UIPerfTest { |
32 public: | 32 public: |
33 StartupTest() { | 33 StartupTest() { |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 UITestBase::CUSTOM_FRAME, 0, 0); | 422 UITestBase::CUSTOM_FRAME, 0, 0); |
423 } | 423 } |
424 | 424 |
425 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { | 425 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { |
426 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, | 426 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, |
427 UITestBase::CUSTOM_FRAME_NATIVE_THEME, 0, 0); | 427 UITestBase::CUSTOM_FRAME_NATIVE_THEME, 0, 0); |
428 } | 428 } |
429 #endif | 429 #endif |
430 | 430 |
431 } // namespace | 431 } // namespace |
OLD | NEW |