blob: 6659f0a81988e6f10c931182888d45e8edec5579 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
#define COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
#include "components/user_manager/user_manager_export.h"
class AccountId;
namespace user_manager {
// Delegate to be used with |UserManager::RemoveUser|.
class USER_MANAGER_EXPORT RemoveUserDelegate {
public:
// Called right before actual user removal process is initiated.
virtual void OnBeforeUserRemoved(const AccountId& account_id) = 0;
// Called right after user removal process has been initiated.
virtual void OnUserRemoved(const AccountId& account_id) = 0;
};
} // namespace user_manager
#endif // COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_