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

Unified Diff: content/public/test/test_launcher.cc

Issue 132313006: Introduce content::TestLauncherDelegate.AdjustDefaultParallelJobs() to allow us to auto-disable par… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/test_launcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_launcher.cc
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc
index f3fcb5ec0c906607ee1cfa1acb99619174d66c4e..4e9017b9c824d4021006155ebbaf4369ca58793e 100644
--- a/content/public/test/test_launcher.cc
+++ b/content/public/test/test_launcher.cc
@@ -516,6 +516,9 @@ int LaunchTests(TestLauncherDelegate* launcher_delegate,
base::MessageLoopForIO message_loop;
+ // Allow the |launcher_delegate| to modify |default_jobs|.
+ launcher_delegate->AdjustDefaultParallelJobs(&default_jobs);
+
WrapperTestLauncherDelegate delegate(launcher_delegate);
base::TestLauncher launcher(&delegate, default_jobs);
bool success = launcher.Run(argc, argv);
« no previous file with comments | « content/public/test/test_launcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698