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

Side by Side Diff: components/mus/ws/user_id_tracker_observer.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ 5 #ifndef COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_
6 #define COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ 6 #define COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "components/mus/ws/user_id.h" 10 #include "components/mus/ws/user_id.h"
11 11
12 namespace mus { 12 namespace mus {
13 namespace ws { 13 namespace ws {
14 14
15 class UserIdTrackerObserver { 15 class UserIdTrackerObserver {
16 public: 16 public:
17 virtual void OnActiveUserIdChanged(UserId id) = 0; 17 virtual void OnActiveUserIdChanged(const UserId& id) = 0;
18 virtual void OnUserIdAdded(UserId id) = 0; 18 virtual void OnUserIdAdded(const UserId& id) = 0;
19 virtual void OnUserIdRemoved(UserId id) = 0; 19 virtual void OnUserIdRemoved(const UserId& id) = 0;
20 20
21 protected: 21 protected:
22 virtual ~UserIdTrackerObserver() {} 22 virtual ~UserIdTrackerObserver() {}
23 }; 23 };
24 24
25 } // namespace ws 25 } // namespace ws
26 } // namespace mus 26 } // namespace mus
27 27
28 #endif // COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ 28 #endif // COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/mus/ws/user_id_tracker.cc ('k') | components/mus/ws/window_manager_factory_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698