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

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

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 | « chrome/test/base/chrome_test_launcher.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_launcher.h
diff --git a/content/public/test/test_launcher.h b/content/public/test/test_launcher.h
index 268eab5fa9e7b62734064be934eb2a943f975fb0..5cf4d0f44eac8fa44b22aeae8111879a7360a393 100644
--- a/content/public/test/test_launcher.h
+++ b/content/public/test/test_launcher.h
@@ -39,6 +39,10 @@ class TestLauncherDelegate {
virtual void PostRunMessageLoop() {}
virtual ContentMainDelegate* CreateContentMainDelegate() = 0;
+ // Allows a TestLauncherDelegate to adjust the number of |default_jobs| used
+ // when --test-launcher-jobs isn't specified on the command-line.
+ virtual void AdjustDefaultParallelJobs(int* default_jobs) {}
+
protected:
virtual ~TestLauncherDelegate();
};
« no previous file with comments | « chrome/test/base/chrome_test_launcher.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698