blob: 1077bda527fa6f11b4c82c43e7dd113d9d125bd8 [file] [log] [blame]
[email protected]83d82d42014-05-16 02:04:421// Copyright 2014 The Chromium Authors. All rights reserved.
[email protected]65f069152011-12-06 15:40:422// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]4d390782014-08-15 09:22:585#ifndef COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
6#define COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
[email protected]65f069152011-12-06 15:40:427
[email protected]4d390782014-08-15 09:22:588#include "components/user_manager/user_manager_export.h"
9
10namespace user_manager {
[email protected]65f069152011-12-06 15:40:4211
12// Delegate to be used with |UserManager::RemoveUser|.
[email protected]4d390782014-08-15 09:22:5813class USER_MANAGER_EXPORT RemoveUserDelegate {
[email protected]65f069152011-12-06 15:40:4214 public:
15 // Called right before actual user removal process is initiated.
16 virtual void OnBeforeUserRemoved(const std::string& username) = 0;
17
18 // Called right after user removal process has been initiated.
19 virtual void OnUserRemoved(const std::string& username) = 0;
20};
21
[email protected]4d390782014-08-15 09:22:5822} // namespace user_manager
[email protected]65f069152011-12-06 15:40:4223
[email protected]4d390782014-08-15 09:22:5824#endif // COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_