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

Unified Diff: sky/tools/tester/tester.cc

Issue 716043002: Implement event sender service for testing (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/tools/tester/test_runner.h ('k') | sky/viewer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/tester/tester.cc
diff --git a/sky/tools/tester/tester.cc b/sky/tools/tester/tester.cc
index 44d87dd2ad51ef7c176411c519f7cd96dcb65f6f..c71a6f7516079945de27b51f856f81f23e7ba4ee 100644
--- a/sky/tools/tester/tester.cc
+++ b/sky/tools/tester/tester.cc
@@ -56,6 +56,8 @@ class SkyTester : public mojo::ApplicationDelegate,
virtual bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override {
window_manager_app_->ConfigureIncomingConnection(connection);
+ if (test_runner_)
eseidel 2014/11/12 03:18:54 Why the null check?
abarth-chromium 2014/11/12 03:19:56 Someone could be connecting while we aren't runnin
abarth-chromium 2014/11/12 03:19:56 Someone could be connecting while we aren't runnin
+ connection->AddService(test_runner_->test_harness_factory());
return true;
}
« no previous file with comments | « sky/tools/tester/test_runner.h ('k') | sky/viewer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698