OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ | |
6 #define COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ | |
7 | |
8 #include <stdint.h> | |
9 | |
10 #include "components/mus/ws/user_id.h" | |
11 | |
12 namespace mus { | |
13 namespace ws { | |
14 | |
15 class UserIdTrackerObserver { | |
16 public: | |
17 virtual void OnActiveUserIdChanged(const UserId& previously_active_id, | |
18 const UserId& active_id) {} | |
19 virtual void OnUserIdAdded(const UserId& id) {} | |
20 virtual void OnUserIdRemoved(const UserId& id) {} | |
21 | |
22 protected: | |
23 virtual ~UserIdTrackerObserver() {} | |
24 }; | |
25 | |
26 } // namespace ws | |
27 } // namespace mus | |
28 | |
29 #endif // COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ | |
OLD | NEW |