OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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_REMOVE_USER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_REMOVE_USER_DELEGATE_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace chromeos { |
| 10 |
| 11 // Delegate to be used with |UserManager::RemoveUser|. |
| 12 class RemoveUserDelegate { |
| 13 public: |
| 14 // Called right before actual user removal process is initiated. |
| 15 virtual void OnBeforeUserRemoved(const std::string& username) = 0; |
| 16 |
| 17 // Called right after user removal process has been initiated. |
| 18 virtual void OnUserRemoved(const std::string& username) = 0; |
| 19 }; |
| 20 |
| 21 } // namespace chromeos |
| 22 |
| 23 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_REMOVE_USER_DELEGATE_H_ |
OLD | NEW |