• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
8 namespace chromeos {
9 
10 class 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:
~MultiProfileUserControllerDelegate()16   virtual ~MultiProfileUserControllerDelegate() {}
17 };
18 
19 }  // namespace chromeos
20 
21 #endif  // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_MULTI_PROFILE_USER_CONTROLLER_DELEGATE_H_
22