multi_profile_user_controller_delegate.h revision cedac228d2dd51db4b79ea1e72c7f249408ee061
1// Copyright 2014 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 CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MULTI_PROFILE_USER_CONTROLLER_DELEGATE_H_
6#define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MULTI_PROFILE_USER_CONTROLLER_DELEGATE_H_
7
8namespace chromeos {
9
10class MultiProfileUserControllerDelegate {
11 public:
12  // Invoked when the first user that is not allowed in the session is detected.
13  virtual void OnUserNotAllowed(const std::string& user_email) = 0;
14
15 protected:
16  virtual ~MultiProfileUserControllerDelegate() {}
17};
18
19}  // namespace chromeos
20
21#endif  // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MULTI_PROFILE_USER_CONTROLLER_DELEGATE_H_
22