blob: 1de31cd1db72b0e6ef1ff54ec7447804ff921a8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_SESSION_STATE_OBSERVER_H_
#define ASH_SESSION_STATE_OBSERVER_H_
#include <string>
#include "ash/ash_export.h"
namespace ash {
class ASH_EXPORT SessionStateObserver {
public:
// Called when active user has changed.
virtual void ActiveUserChanged(const std::string& user_id) {}
// Called when another user gets added to the existing session.
virtual void UserAddedToSession(const std::string& user_id) {}
protected:
virtual ~SessionStateObserver() {}
};
} // namespace ash
#endif // ASH_SESSION_STATE_OBSERVER_H_
|