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

Unified Diff: components/mus/mus_app.cc

Issue 1757403002: More user id tracking for mus: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 10 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 | « no previous file | components/mus/ws/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/mus_app.cc
diff --git a/components/mus/mus_app.cc b/components/mus/mus_app.cc
index ad5f02075100e0f64551cab8e9712b7e20fed0e2..ab3832f4b24026e3f08a8bed05994c11fbc334dd 100644
--- a/components/mus/mus_app.cc
+++ b/components/mus/mus_app.cc
@@ -149,6 +149,7 @@ void MandolineUIServicesApp::OnFirstRootConnectionCreated() {
PendingRequests requests;
requests.swap(pending_requests_);
for (auto& request : requests) {
+ // TODO(sky): this needs to cache user id too!
if (request->dm_request)
Create(nullptr, std::move(*request->dm_request));
else
@@ -192,7 +193,7 @@ void MandolineUIServicesApp::Create(mojo::Connection* connection,
void MandolineUIServicesApp::Create(
mojo::Connection* connection,
mojom::WindowManagerFactoryServiceRequest request) {
- connection_manager_->CreateWindowManagerFactoryService(
+ connection_manager_->window_manager_factory_registry()->Register(
connection->GetRemoteUserID(), std::move(request));
}
« no previous file with comments | « no previous file | components/mus/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698