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

Unified Diff: ash/sysui/sysui_application.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 | « ash/sysui/sysui_application.h ('k') | ash/touch_hud/mus/touch_hud_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sysui/sysui_application.cc
diff --git a/ash/sysui/sysui_application.cc b/ash/sysui/sysui_application.cc
index c0043eb3ff39c05b33e8e5de7272381bfffb42a4..cad93261e2417f781f3024d099fbf9fe2b986668 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -322,9 +322,10 @@ void SysUIApplication::OnStart(const ::shell::Identity& identity) {
input_device_client_.Connect(std::move(server));
}
-bool SysUIApplication::OnConnect(::shell::Connection* connection) {
- connection->AddInterface<mash::shelf::mojom::ShelfController>(this);
- connection->AddInterface<mojom::WallpaperController>(this);
+bool SysUIApplication::OnConnect(const ::shell::Identity& remote_identity,
+ ::shell::InterfaceRegistry* registry) {
+ registry->AddInterface<mash::shelf::mojom::ShelfController>(this);
+ registry->AddInterface<mojom::WallpaperController>(this);
return true;
}
« no previous file with comments | « ash/sysui/sysui_application.h ('k') | ash/touch_hud/mus/touch_hud_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698