summaryrefslogtreecommitdiffstats
path: root/components/user_manager/remove_user_delegate.h
blob: 6659f0a81988e6f10c931182888d45e8edec5579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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_