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

Unified Diff: services/shell/tests/shutdown/shutdown_service_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/shutdown/shutdown_client_app.cc ('k') | services/tracing/service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/tests/shutdown/shutdown_service_app.cc
diff --git a/services/shell/tests/shutdown/shutdown_service_app.cc b/services/shell/tests/shutdown/shutdown_service_app.cc
index b5db4fb48437fb003b6f2931d57ec0f089eba915..2aa562b205ae7ba128330175374b4de402fd6dcc 100644
--- a/services/shell/tests/shutdown/shutdown_service_app.cc
+++ b/services/shell/tests/shutdown/shutdown_service_app.cc
@@ -5,6 +5,8 @@
#include "base/macros.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/shell/public/c/main.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"
@@ -24,8 +26,9 @@ class ShutdownServiceApp
private:
// shell::Service:
- bool OnConnect(Connection* connection) override {
- connection->AddInterface<mojom::ShutdownTestService>(this);
+ bool OnConnect(const Identity& remote_identity,
+ InterfaceRegistry* registry) override {
+ registry->AddInterface<mojom::ShutdownTestService>(this);
return true;
}
« no previous file with comments | « services/shell/tests/shutdown/shutdown_client_app.cc ('k') | services/tracing/service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698