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

Unified Diff: components/mus/ws/connection_manager.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 | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/connection_manager.cc
diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc
index 38c2e7560c5947feee663ba0c7511dec4d781dd1..ba3316c49406f32d33ed0d5e04641ce6c6b814b0 100644
--- a/components/mus/ws/connection_manager.cc
+++ b/components/mus/ws/connection_manager.cc
@@ -35,7 +35,7 @@ ConnectionManager::ConnectionManager(
in_destructor_(false),
next_wm_change_id_(0),
got_valid_frame_decorations_(false),
- window_manager_factory_registry_(this) {}
+ window_manager_factory_registry_(this, &user_id_tracker_) {}
ConnectionManager::~ConnectionManager() {
in_destructor_ = true;
@@ -312,13 +312,7 @@ void ConnectionManager::AddDisplayManagerBinding(
display_manager_bindings_.AddBinding(this, std::move(request));
}
-void ConnectionManager::CreateWindowManagerFactoryService(
- uint32_t user_id,
- mojo::InterfaceRequest<mojom::WindowManagerFactoryService> request) {
- window_manager_factory_registry_.Register(user_id, std::move(request));
-}
-
-void ConnectionManager::OnWindowManagerFactorySet() {
+void ConnectionManager::OnFirstWindowManagerFactorySet() {
if (!hosts_.empty() || !pending_hosts_.empty())
return;
« no previous file with comments | « components/mus/ws/connection_manager.h ('k') | components/mus/ws/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698