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

Unified Diff: components/mus/ws/window_manager_factory_service.h

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
Patch Set: . Created 4 years, 9 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
Index: components/mus/ws/window_manager_factory_service.h
diff --git a/components/mus/ws/window_manager_factory_service.h b/components/mus/ws/window_manager_factory_service.h
index 103217477bdfb6446e4a8f401a7eb9fa1eddfd70..6e1b6cde38e62014897c0dd1cff59fa0818cdacd 100644
--- a/components/mus/ws/window_manager_factory_service.h
+++ b/components/mus/ws/window_manager_factory_service.h
@@ -25,11 +25,11 @@ class WindowManagerFactoryService : public mojom::WindowManagerFactoryService {
public:
WindowManagerFactoryService(
WindowManagerFactoryRegistry* registry,
- UserId user_id,
+ const UserId& user_id,
mojo::InterfaceRequest<mojom::WindowManagerFactoryService> request);
~WindowManagerFactoryService() override;
- UserId user_id() const { return user_id_; }
+ const UserId& user_id() const { return user_id_; }
mojom::WindowManagerFactory* window_manager_factory() {
return window_manager_factory_;
@@ -43,7 +43,7 @@ class WindowManagerFactoryService : public mojom::WindowManagerFactoryService {
// Used by tests.
WindowManagerFactoryService(WindowManagerFactoryRegistry* registry,
- UserId user_id);
+ const UserId& user_id);
void SetWindowManagerFactoryImpl(mojom::WindowManagerFactory* factory);
void OnConnectionLost();
« no previous file with comments | « components/mus/ws/window_manager_factory_registry.cc ('k') | components/mus/ws/window_manager_factory_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698