| Index: components/mus/ws/window_manager_factory_registry.h
|
| diff --git a/components/mus/ws/window_manager_factory_registry.h b/components/mus/ws/window_manager_factory_registry.h
|
| index 0bb721b77444ed0412d3af7d78116d520fa5fc72..efd29a42ec6fd12237545b7547e15a8a6598c403 100644
|
| --- a/components/mus/ws/window_manager_factory_registry.h
|
| +++ b/components/mus/ws/window_manager_factory_registry.h
|
| @@ -36,7 +36,7 @@ class WindowManagerFactoryRegistry : public UserIdTrackerObserver {
|
| ~WindowManagerFactoryRegistry() override;
|
|
|
| void Register(
|
| - UserId user_id,
|
| + const UserId& user_id,
|
| mojo::InterfaceRequest<mojom::WindowManagerFactoryService> request);
|
|
|
| std::vector<WindowManagerFactoryService*> GetServices();
|
| @@ -50,15 +50,15 @@ class WindowManagerFactoryRegistry : public UserIdTrackerObserver {
|
|
|
| void AddServiceImpl(scoped_ptr<WindowManagerFactoryService> service);
|
|
|
| - bool ContainsServiceForUser(UserId user_id) const;
|
| + bool ContainsServiceForUser(const UserId& user_id) const;
|
| void OnWindowManagerFactoryConnectionLost(
|
| WindowManagerFactoryService* service);
|
| void OnWindowManagerFactorySet(WindowManagerFactoryService* service);
|
|
|
| // UserIdTrackerObserver:
|
| - void OnActiveUserIdChanged(UserId id) override;
|
| - void OnUserIdAdded(UserId id) override;
|
| - void OnUserIdRemoved(UserId id) override;
|
| + void OnActiveUserIdChanged(const UserId& id) override;
|
| + void OnUserIdAdded(const UserId& id) override;
|
| + void OnUserIdRemoved(const UserId& id) override;
|
|
|
| // Set to true the first time a valid factory has been found.
|
| bool got_valid_factory_ = false;
|
|
|