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

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
« no previous file with comments | « mojo/shell/application_manager_apptest_driver.cc ('k') | mojo/shell/application_manager_apptests.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3fb1c63829ec0684cd3152c5963b99b94ff9f4b7..1402dbc61e587c136b26490495e6c41773d2c96a 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 {
« no previous file with comments | « mojo/shell/application_manager_apptest_driver.cc ('k') | mojo/shell/application_manager_apptests.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698