Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: chrome/test/startup/startup_test.cc

Issue 506067: Rename a conflicting trace. (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/file_util.h" 5 #include "base/file_util.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/platform_thread.h" 7 #include "base/platform_thread.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/test/test_file_util.h" 9 #include "base/test/test_file_util.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // TODO(mpcomplete): Should we have reference timings for all these? 159 // TODO(mpcomplete): Should we have reference timings for all these?
160 160
161 TEST_F(StartupTest, PerfCold) { 161 TEST_F(StartupTest, PerfCold) {
162 RunStartupTest("cold", "t", true /* cold */, false /* not important */, 162 RunStartupTest("cold", "t", true /* cold */, false /* not important */,
163 UITest::DEFAULT_THEME); 163 UITest::DEFAULT_THEME);
164 } 164 }
165 165
166 TEST_F(StartupTest, PerfExtensionEmpty) { 166 TEST_F(StartupTest, PerfExtensionEmpty) {
167 SetUpWithFileURL(); 167 SetUpWithFileURL();
168 SetUpWithExtensionsProfile("empty"); 168 SetUpWithExtensionsProfile("empty");
169 RunStartupTest("warm", "t", false /* cold */, false /* not important */, 169 RunStartupTest("warm", "extension_empty",
170 false /* cold */, false /* not important */,
170 UITest::DEFAULT_THEME); 171 UITest::DEFAULT_THEME);
171 } 172 }
172 173
173 TEST_F(StartupTest, PerfExtensionToolstrips1) { 174 TEST_F(StartupTest, PerfExtensionToolstrips1) {
174 SetUpWithFileURL(); 175 SetUpWithFileURL();
175 SetUpWithExtensionsProfile("toolstrips1"); 176 SetUpWithExtensionsProfile("toolstrips1");
176 RunStartupTest("warm", "extension_toolstrip1", 177 RunStartupTest("warm", "extension_toolstrip1",
177 false /* cold */, false /* not important */, 178 false /* cold */, false /* not important */,
178 UITest::DEFAULT_THEME); 179 UITest::DEFAULT_THEME);
179 } 180 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 false /* not important */, UITest::CUSTOM_FRAME); 234 false /* not important */, UITest::CUSTOM_FRAME);
234 } 235 }
235 236
236 TEST_F(StartupTest, PerfColdNativeFrameGtkTheme) { 237 TEST_F(StartupTest, PerfColdNativeFrameGtkTheme) {
237 RunStartupTest("warm", "custom-frame-gtk-theme", false /* warm */, 238 RunStartupTest("warm", "custom-frame-gtk-theme", false /* warm */,
238 false /* not important */, UITest::CUSTOM_FRAME_NATIVE_THEME); 239 false /* not important */, UITest::CUSTOM_FRAME_NATIVE_THEME);
239 } 240 }
240 #endif 241 #endif
241 242
242 } // namespace 243 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698