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

Unified Diff: mash/login/login.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 | « mash/init/init.cc ('k') | mash/quick_launch/quick_launch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/login/login.cc
diff --git a/mash/login/login.cc b/mash/login/login.cc
index f6fd46cc6504ae6ee44d27a98c72cc82d2f580a7..c9297fcc1edbad92482086fccd7ecda01263c201 100644
--- a/mash/login/login.cc
+++ b/mash/login/login.cc
@@ -158,8 +158,9 @@ class Login : public shell::Service,
connector()->ConnectToInterface("mojo:ui", &user_access_manager_);
user_access_manager_->SetActiveUser(identity.user_id());
}
- bool OnConnect(shell::Connection* connection) override {
- connection->AddInterface<mojom::Login>(this);
+ bool OnConnect(const shell::Identity& remote_identity,
+ shell::InterfaceRegistry* registry) override {
+ registry->AddInterface<mojom::Login>(this);
return true;
}
« no previous file with comments | « mash/init/init.cc ('k') | mash/quick_launch/quick_launch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698