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

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

Issue 2893703002: Cleanup PreferenceMACs on browser_tests startup (Closed)
Patch Set: re-enable PrefHashBrowserTests disabled for this issue Created 3 years, 7 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
Index: content/public/test/test_launcher.h
diff --git a/content/public/test/test_launcher.h b/content/public/test/test_launcher.h
index b58f9b75d78973ff3c38e424d1a1eac5dcca5675..82079942efcbe1a7c2d5e57f2634c031873e299d 100644
--- a/content/public/test/test_launcher.h
+++ b/content/public/test/test_launcher.h
@@ -58,6 +58,11 @@ class TestLauncherDelegate {
base::CommandLine* command_line,
base::TestLauncher::LaunchOptions* test_launch_options);
+ // Allows a TestLauncherDelegate to cleanup any global state (e.g. registry)
+ // before sharding the tests into multiple processes who may access that
+ // state.
+ virtual void PreShardingCleanup() {}
jam 2017/05/17 19:06:16 nit: just call it PreSharding and don't mention im
gab 2017/05/17 20:01:05 Done.
+
// 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) {}

Powered by Google App Engine
This is Rietveld 408576698