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

Unified Diff: ash/mus/window_manager_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/mus/window_manager_application.h ('k') | ash/sysui/sysui_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_application.cc
diff --git a/ash/mus/window_manager_application.cc b/ash/mus/window_manager_application.cc
index d1e831661255efb4c26be624a6837d20a2ed201f..b7d0355191467122572fd5b6e17ffc7081ea99d0 100644
--- a/ash/mus/window_manager_application.cc
+++ b/ash/mus/window_manager_application.cc
@@ -127,7 +127,7 @@ bool WindowManagerApplication::OnConnect(shell::Connection* connection) {
}
void WindowManagerApplication::Create(
- shell::Connection* connection,
+ const shell::Identity& remote_identity,
mojo::InterfaceRequest<mojom::ShelfLayout> request) {
// TODO(msw): Handle multiple shelves (one per display).
if (!window_manager_->GetRootWindowControllers().empty()) {
@@ -138,7 +138,7 @@ void WindowManagerApplication::Create(
}
void WindowManagerApplication::Create(
- shell::Connection* connection,
+ const shell::Identity& remote_identity,
mojo::InterfaceRequest<mojom::UserWindowController> request) {
if (!window_manager_->GetRootWindowControllers().empty()) {
user_window_controller_bindings_.AddBinding(user_window_controller_.get(),
@@ -149,7 +149,7 @@ void WindowManagerApplication::Create(
}
void WindowManagerApplication::Create(
- shell::Connection* connection,
+ const shell::Identity& remote_identity,
mojo::InterfaceRequest<::ui::mojom::AcceleratorRegistrar> request) {
if (!window_manager_->window_manager_client())
return; // Can happen during shutdown.
« no previous file with comments | « ash/mus/window_manager_application.h ('k') | ash/sysui/sysui_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698