OLD | NEW |
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 SERVICES_UI_WS_USER_ID_TRACKER_OBSERVER_H_ |
6 #define COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ | 6 #define SERVICES_UI_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 "services/ui/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(const UserId& previously_active_id, | 17 virtual void OnActiveUserIdChanged(const UserId& previously_active_id, |
18 const UserId& active_id) {} | 18 const UserId& active_id) {} |
19 virtual void OnUserIdAdded(const UserId& id) {} | 19 virtual void OnUserIdAdded(const UserId& id) {} |
20 virtual void OnUserIdRemoved(const UserId& id) {} | 20 virtual void OnUserIdRemoved(const UserId& id) {} |
21 | 21 |
22 protected: | 22 protected: |
23 virtual ~UserIdTrackerObserver() {} | 23 virtual ~UserIdTrackerObserver() {} |
24 }; | 24 }; |
25 | 25 |
26 } // namespace ws | 26 } // namespace ws |
27 } // namespace mus | 27 } // namespace mus |
28 | 28 |
29 #endif // COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ | 29 #endif // SERVICES_UI_WS_USER_ID_TRACKER_OBSERVER_H_ |
OLD | NEW |