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

Side by Side Diff: chrome/test/test_launcher/out_of_proc_test_runner.cc

Issue 3162047: FBTF: Move some heavy, repeatedly emitted symbols to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac fixes Created 10 years, 3 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
« no previous file with comments | « chrome/renderer/renderer_main_platform_delegate_win.cc ('k') | chrome/test/ui/ui_test_suite.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 #include <string> 5 #include <string>
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
11 #include "base/test/test_suite.h" 11 #include "base/test/test_suite.h"
12 #include "chrome/test/test_launcher/test_runner.h" 12 #include "chrome/test/test_launcher/test_runner.h"
13 #include "chrome/test/unit/chrome_test_suite.h" 13 #include "chrome/test/unit/chrome_test_suite.h"
14 14
15 #if defined(OS_WIN) 15 #if defined(OS_WIN)
16 #include "base/base_switches.h" 16 #include "base/base_switches.h"
17 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
18 #include "chrome/common/chrome_switches.h"
18 #include "chrome/common/sandbox_policy.h" 19 #include "chrome/common/sandbox_policy.h"
19 #include "sandbox/src/dep.h" 20 #include "sandbox/src/dep.h"
20 #include "sandbox/src/sandbox_factory.h" 21 #include "sandbox/src/sandbox_factory.h"
21 #include "sandbox/src/sandbox_types.h" 22 #include "sandbox/src/sandbox_types.h"
22 23
23 // The entry point signature of chrome.dll. 24 // The entry point signature of chrome.dll.
24 typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*, wchar_t*); 25 typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*, wchar_t*);
25 #endif 26 #endif
26 27
27 // This version of the test launcher forks a new process for each test it runs. 28 // This version of the test launcher forks a new process for each test it runs.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 exit_code = 1; 229 exit_code = 1;
229 break; 230 break;
230 } 231 }
231 232
232 // Special value "-1" means "repeat indefinitely". 233 // Special value "-1" means "repeat indefinitely".
233 if (cycles != -1) 234 if (cycles != -1)
234 cycles--; 235 cycles--;
235 } 236 }
236 return exit_code; 237 return exit_code;
237 } 238 }
OLDNEW
« no previous file with comments | « chrome/renderer/renderer_main_platform_delegate_win.cc ('k') | chrome/test/ui/ui_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698