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

Unified Diff: mojo/shell/application_manager_apptest_target.cc

Issue 1578473002: Pass application ids via AcceptConnection & ConnectToApplication callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
Index: mojo/shell/application_manager_apptest_target.cc
diff --git a/mojo/shell/application_manager_apptest_target.cc b/mojo/shell/application_manager_apptest_target.cc
index 62534fd412735c1f7c5555b24f98e27da561e741..883ed3e489dd0f8df0d91203e88feff726f8059e 100644
--- a/mojo/shell/application_manager_apptest_target.cc
+++ b/mojo/shell/application_manager_apptest_target.cc
@@ -26,7 +26,7 @@ class TargetApplicationDelegate : public mojo::ApplicationDelegate {
void Initialize(mojo::ApplicationImpl* app) override {
CreateInstanceForHandleTestPtr service;
app->ConnectToService("mojo:mojo_shell_apptests", &service);
- service->Ping("From Target");
+ service->SetTargetID(app->id());
}
bool ConfigureIncomingConnection(
mojo::ApplicationConnection* connection) override {

Powered by Google App Engine
This is Rietveld 408576698