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

Unified Diff: ash/sysui/sysui_application.cc

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 664adf31c606b74d52eb439ebf02efad1ec3bd2c..fd1edb8fb051a095294bfaabaf47c575300806ec 100644
--- a/ash/sysui/sysui_application.cc
+++ b/ash/sysui/sysui_application.cc
@@ -331,7 +331,7 @@ bool SysUIApplication::OnConnect(::shell::Connection* connection) {
}
void SysUIApplication::Create(
- ::shell::Connection* connection,
+ const ::shell::Identity& remote_identity,
mash::shelf::mojom::ShelfControllerRequest request) {
mash::shelf::mojom::ShelfController* shelf_controller =
static_cast<ShelfDelegateMus*>(WmShell::Get()->shelf_delegate());
@@ -339,7 +339,7 @@ void SysUIApplication::Create(
shelf_controller_bindings_.AddBinding(shelf_controller, std::move(request));
}
-void SysUIApplication::Create(::shell::Connection* connection,
+void SysUIApplication::Create(const ::shell::Identity& remote_identity,
mojom::WallpaperControllerRequest request) {
mojom::WallpaperController* wallpaper_controller =
static_cast<UserWallpaperDelegateMus*>(
« 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