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

Unified Diff: services/shell/tests/shutdown/shutdown_client_app.cc

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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 | « services/shell/tests/shell/shell_unittest.cc ('k') | services/shell/tests/shutdown/shutdown_service_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/shutdown/shutdown_client_app.cc
diff --git a/services/shell/tests/shutdown/shutdown_client_app.cc b/services/shell/tests/shutdown/shutdown_client_app.cc
index 102fb2b85305bd8cb31b60ea6a62cb2611740085..c3c5918a1e771ef7ad968f237d1d7133b54068f1 100644
--- a/services/shell/tests/shutdown/shutdown_client_app.cc
+++ b/services/shell/tests/shutdown/shutdown_client_app.cc
@@ -8,6 +8,7 @@
#include "services/shell/public/c/main.h"
#include "services/shell/public/cpp/connector.h"
#include "services/shell/public/cpp/interface_factory.h"
+#include "services/shell/public/cpp/interface_registry.h"
#include "services/shell/public/cpp/service.h"
#include "services/shell/public/cpp/service_runner.h"
#include "services/shell/tests/shutdown/shutdown_unittest.mojom.h"
@@ -25,8 +26,9 @@ class ShutdownClientApp
private:
// shell::Service:
- bool OnConnect(Connection* connection) override {
- connection->AddInterface<mojom::ShutdownTestClientController>(this);
+ bool OnConnect(const Identity& remote_identity,
+ InterfaceRegistry* registry) override {
+ registry->AddInterface<mojom::ShutdownTestClientController>(this);
return true;
}
« no previous file with comments | « services/shell/tests/shell/shell_unittest.cc ('k') | services/shell/tests/shutdown/shutdown_service_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698