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

Side by Side Diff: chrome/test/test_launcher_utils.h

Issue 4784001: Removed --use-gl=osmesa as default for ui and browser tests.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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/in_process_browser_test.cc ('k') | chrome/test/test_launcher_utils.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) 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 #ifndef CHROME_TEST_TEST_LAUNCHER_UTILS_H_ 5 #ifndef CHROME_TEST_TEST_LAUNCHER_UTILS_H_
6 #define CHROME_TEST_TEST_LAUNCHER_UTILS_H_ 6 #define CHROME_TEST_TEST_LAUNCHER_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 11
12 class CommandLine; 12 class CommandLine;
13 13
14 // A set of utilities for test code that launches separate processes. 14 // A set of utilities for test code that launches separate processes.
15 namespace test_launcher_utils { 15 namespace test_launcher_utils {
16 16
17 // Appends browser switches to provided |command_line| to be used 17 // Appends browser switches to provided |command_line| to be used
18 // when running under tests. 18 // when running under tests.
19 void PrepareBrowserCommandLineForTests(CommandLine* command_line); 19 void PrepareBrowserCommandLineForTests(CommandLine* command_line);
20 20
21 // Overrides the current process' user data dir. 21 // Overrides the current process' user data dir.
22 bool OverrideUserDataDir(const FilePath& user_data_dir) WARN_UNUSED_RESULT; 22 bool OverrideUserDataDir(const FilePath& user_data_dir) WARN_UNUSED_RESULT;
23 23
24 // Override the GL implementation. The names are the same as for the --use-gl
25 // command line switch. Use the constants in the gfx namespace.
26 bool OverrideGLImplementation(
27 CommandLine* command_line,
28 const char* implementation_name) WARN_UNUSED_RESULT;
Paweł Hajdan Jr. 2010/11/12 08:47:51 nit: Use const std::string& instead of const char*
29
24 } // namespace test_launcher_utils 30 } // namespace test_launcher_utils
25 31
26 #endif // CHROME_TEST_TEST_LAUNCHER_UTILS_H_ 32 #endif // CHROME_TEST_TEST_LAUNCHER_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | chrome/test/test_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698