blob: 6659f0a81988e6f10c931182888d45e8edec5579 [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
alematec9662d82015-11-24 09:04:0810class AccountId;
11
[email protected]4d390782014-08-15 09:22:5812namespace user_manager {
[email protected]65f069152011-12-06 15:40:4213
14// Delegate to be used with |UserManager::RemoveUser|.
[email protected]4d390782014-08-15 09:22:5815class USER_MANAGER_EXPORT RemoveUserDelegate {
[email protected]65f069152011-12-06 15:40:4216 public:
17 // Called right before actual user removal process is initiated.
alematec9662d82015-11-24 09:04:0818 virtual void OnBeforeUserRemoved(const AccountId& account_id) = 0;
[email protected]65f069152011-12-06 15:40:4219
20 // Called right after user removal process has been initiated.
alematec9662d82015-11-24 09:04:0821 virtual void OnUserRemoved(const AccountId& account_id) = 0;
[email protected]65f069152011-12-06 15:40:4222};
23
[email protected]4d390782014-08-15 09:22:5824} // namespace user_manager
[email protected]65f069152011-12-06 15:40:4225
[email protected]4d390782014-08-15 09:22:5826#endif // COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_