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

Side by Side Diff: chrome/test/ui/ui_perf_test.cc

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/ui/named_interface_uitest.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | 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) 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 "chrome/test/ui/ui_perf_test.h" 5 #include "chrome/test/ui/ui_perf_test.h"
6 6
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/string_number_conversions.h" 8 #include "base/string_number_conversions.h"
9 #include "chrome/common/chrome_paths.h" 9 #include "chrome/common/chrome_paths.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
11 #include "chrome/test/base/chrome_process_util.h" 11 #include "chrome/test/base/chrome_process_util.h"
12 #include "chrome/test/test_switches.h" 12 #include "chrome/test/base/test_switches.h"
13 13
14 void UIPerfTest::SetLaunchSwitches() { 14 void UIPerfTest::SetLaunchSwitches() {
15 UITestBase::SetLaunchSwitches(); 15 UITestBase::SetLaunchSwitches();
16 16
17 // Reduce performance test variance by disabling background networking. 17 // Reduce performance test variance by disabling background networking.
18 launch_arguments_.AppendSwitch(switches::kDisableBackgroundNetworking); 18 launch_arguments_.AppendSwitch(switches::kDisableBackgroundNetworking);
19 } 19 }
20 20
21 void UIPerfTest::PrintResult(const std::string& measurement, 21 void UIPerfTest::PrintResult(const std::string& measurement,
22 const std::string& modifier, 22 const std::string& modifier,
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 #if defined(OS_WIN) 329 #if defined(OS_WIN)
330 dir = dir.AppendASCII("chrome_win"); 330 dir = dir.AppendASCII("chrome_win");
331 #elif defined(OS_LINUX) 331 #elif defined(OS_LINUX)
332 dir = dir.AppendASCII("chrome_linux"); 332 dir = dir.AppendASCII("chrome_linux");
333 #elif defined(OS_MACOSX) 333 #elif defined(OS_MACOSX)
334 dir = dir.AppendASCII("chrome_mac"); 334 dir = dir.AppendASCII("chrome_mac");
335 #endif 335 #endif
336 launch_arguments_.AppendSwitch(switches::kEnableChromiumBranding); 336 launch_arguments_.AppendSwitch(switches::kEnableChromiumBranding);
337 SetBrowserDirectory(dir); 337 SetBrowserDirectory(dir);
338 } 338 }
OLDNEW
« no previous file with comments | « chrome/test/ui/named_interface_uitest.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698