| 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 "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/platform_thread.h" | 8 #include "base/platform_thread.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" |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 | 290 |
| 291 TEST_F(StartupTest, PerfFewTabs) { | 291 TEST_F(StartupTest, PerfFewTabs) { |
| 292 RunPerfTestWithManyTabs("few_tabs", "cmdline", 5, 2, false); | 292 RunPerfTestWithManyTabs("few_tabs", "cmdline", 5, 2, false); |
| 293 } | 293 } |
| 294 | 294 |
| 295 TEST_F(StartupTest, PerfFewTabsReference) { | 295 TEST_F(StartupTest, PerfFewTabsReference) { |
| 296 UseReferenceBuild(); | 296 UseReferenceBuild(); |
| 297 RunPerfTestWithManyTabs("few_tabs", "cmdline-ref", 5, 2, false); | 297 RunPerfTestWithManyTabs("few_tabs", "cmdline-ref", 5, 2, false); |
| 298 } | 298 } |
| 299 | 299 |
| 300 // http://crbug.com/52858 | 300 TEST_F(StartupTest, PerfRestoreFewTabs) { |
| 301 #if defined(OS_MACOSX) | |
| 302 #define MAYBE_PerfRestoreFewTabs FLAKY_PerfRestoreFewTabs | |
| 303 #else | |
| 304 #define MAYBE_PerfRestoreFewTabs PerfRestoreFewTabs | |
| 305 #endif | |
| 306 TEST_F(StartupTest, MAYBE_PerfRestoreFewTabs) { | |
| 307 RunPerfTestWithManyTabs("few_tabs", "restore", 5, 2, true); | 301 RunPerfTestWithManyTabs("few_tabs", "restore", 5, 2, true); |
| 308 } | 302 } |
| 309 | 303 |
| 310 TEST_F(StartupTest, PerfRestoreFewTabsReference) { | 304 TEST_F(StartupTest, PerfRestoreFewTabsReference) { |
| 311 UseReferenceBuild(); | 305 UseReferenceBuild(); |
| 312 RunPerfTestWithManyTabs("few_tabs", "restore-ref", 5, 2, true); | 306 RunPerfTestWithManyTabs("few_tabs", "restore-ref", 5, 2, true); |
| 313 } | 307 } |
| 314 | 308 |
| 315 #if defined(OS_MACOSX) | 309 #if defined(OS_MACOSX) |
| 316 // http://crbug.com/46609 | 310 // http://crbug.com/46609 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 UITest::CUSTOM_FRAME, 0, 0); | 390 UITest::CUSTOM_FRAME, 0, 0); |
| 397 } | 391 } |
| 398 | 392 |
| 399 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { | 393 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { |
| 400 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, | 394 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, |
| 401 UITest::CUSTOM_FRAME_NATIVE_THEME, 0, 0); | 395 UITest::CUSTOM_FRAME_NATIVE_THEME, 0, 0); |
| 402 } | 396 } |
| 403 #endif | 397 #endif |
| 404 | 398 |
| 405 } // namespace | 399 } // namespace |
| OLD | NEW |