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

Side by Side Diff: content/public/test/test_launcher_utils.h

Issue 10984040: Enable gpu crash tests in content (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: refine Created 8 years, 2 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 | « content/public/test/browser_test_base.cc ('k') | content/public/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
jam 2012/09/28 15:48:46 i don't know why you created this file, i mentione
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_BASE_TEST_LAUNCHER_UTILS_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_LAUNCHER_UTILS_H_
6 #define CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_LAUNCHER_UTILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/file_path.h" 11 #include "base/file_path.h"
12 12
13 class CommandLine; 13 class CommandLine;
14 14
15 // A set of utilities for test code that launches separate processes. 15 // A set of utilities for test code that launches separate processes.
16 namespace test_launcher_utils { 16 namespace content {
17 17
18 // Appends browser switches to provided |command_line| to be used 18 // Appends content switches to provided |command_line| to be used
19 // when running under tests. 19 // when running under BrowserTestBase.
20 void PrepareBrowserCommandLineForTests(CommandLine* command_line); 20 void PrepareBrowserCommandLineForTests(CommandLine* command_line);
21 21
22 // Overrides the current process' user data dir.
23 bool OverrideUserDataDir(const FilePath& user_data_dir) WARN_UNUSED_RESULT;
24
25 // Override the GL implementation. The names are the same as for the --use-gl 22 // Override the GL implementation. The names are the same as for the --use-gl
26 // command line switch. Use the constants in the gfx namespace. 23 // command line switch. Use the constants in the gfx namespace.
27 bool OverrideGLImplementation( 24 bool OverrideGLImplementation(
28 CommandLine* command_line, 25 CommandLine* command_line,
29 const std::string& implementation_name) WARN_UNUSED_RESULT; 26 const std::string& implementation_name) WARN_UNUSED_RESULT;
30 27
31 } // namespace test_launcher_utils 28 } // namespace test_launcher_utils
32 29
33 #endif // CHROME_TEST_BASE_TEST_LAUNCHER_UTILS_H_ 30 #endif // CONTENT_PUBLIC_TEST_TEST_LAUNCHER_UTILS_H_
OLDNEW
« no previous file with comments | « content/public/test/browser_test_base.cc ('k') | content/public/test/test_launcher_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698