| 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(UserId id) = 0; |
| 18 virtual void OnUserIdAdded(UserId id) = 0; |
| 19 virtual void OnUserIdRemoved(UserId id) = 0; |
| 20 |
| 21 protected: |
| 22 virtual ~UserIdTrackerObserver() {} |
| 23 }; |
| 24 |
| 25 } // namespace ws |
| 26 } // namespace mus |
| 27 |
| 28 #endif // COMPONENTS_MUS_WS_USER_ID_TRACKER_OBSERVER_H_ |
| OLD | NEW |