Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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 ASH_SESSION_STATE_OBSERVER_H_ | |
| 6 #define ASH_SESSION_STATE_OBSERVER_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "ash/ash_export.h" | |
| 11 | |
| 12 namespace ash { | |
| 13 | |
| 14 class ASH_EXPORT SessionStateObserver { | |
| 15 public: | |
| 16 // Called when active user has changed. | |
| 17 virtual void ActiveUserChanged(const std::string& user_id) {} | |
|
sky
2013/06/03 15:06:23
How come this is in terms of user_id but the other
| |
| 18 | |
| 19 protected: | |
| 20 virtual ~SessionStateObserver() {} | |
| 21 }; | |
| 22 | |
| 23 } // namespace ash | |
| 24 | |
| 25 #endif // ASH_SESSION_STATE_OBSERVER_H_ | |
| OLD | NEW |