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

Unified Diff: services/shell/tests/connect/connect_test_driver.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
Index: services/shell/tests/connect/connect_test_driver.cc
diff --git a/services/shell/tests/connect/connect_test_driver.cc b/services/shell/tests/connect/connect_test_driver.cc
index 88579201974fa02acff43a9079fb6b8f9ebf643d..27b31cbc6726c3b4d379c2c03af1790dd6ed65a0 100644
--- a/services/shell/tests/connect/connect_test_driver.cc
+++ b/services/shell/tests/connect/connect_test_driver.cc
@@ -31,8 +31,9 @@ class Driver : public shell::Service,
private:
// shell::Service:
- bool OnConnect(shell::Connection* connection) override {
- connection->AddInterface<ClientProcessTest>(this);
+ bool OnConnect(const shell::Identity& remote_identity,
+ shell::InterfaceRegistry* registry) override {
+ registry->AddInterface<ClientProcessTest>(this);
return true;
}
bool OnStop() override {
« no previous file with comments | « services/shell/tests/connect/connect_test_class_app.cc ('k') | services/shell/tests/connect/connect_test_exe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698