Index: content/public/test/test_launcher.cc |
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc |
index 183d82a12eed58d2bcc915548f464e8dbc388fe2..4b578d8cfd77b873dddf0c01dd7c1fcefa335264 100644 |
--- a/content/public/test/test_launcher.cc |
+++ b/content/public/test/test_launcher.cc |
@@ -472,6 +472,8 @@ scoped_ptr<TestState> TestLauncherDelegate::PreRunTest( |
return nullptr; |
} |
+void TestLauncherDelegate::OnDoneRunningTests() {} |
+ |
TestLauncherDelegate::~TestLauncherDelegate() { |
} |
@@ -541,7 +543,9 @@ int LaunchTests(TestLauncherDelegate* launcher_delegate, |
WrapperTestLauncherDelegate delegate(launcher_delegate); |
base::TestLauncher launcher(&delegate, default_jobs); |
- return (launcher.Run() ? 0 : 1); |
+ const int result = launcher.Run() ? 0 : 1; |
+ launcher_delegate->OnDoneRunningTests(); |
+ return result; |
} |
TestLauncherDelegate* GetCurrentTestLauncherDelegate() { |