Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1911)

Side by Side Diff: components/user_manager/remove_user_delegate.h

Issue 444903002: [cros] user_manager component - move UserManagerBase and UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « components/user_manager/DEPS ('k') | components/user_manager/user.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_REMOVE_USER_DELEGATE_H_ 5 #ifndef COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_REMOVE_USER_DELEGATE_H_ 6 #define COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
7 7
8 namespace chromeos { 8 #include "components/user_manager/user_manager_export.h"
9
10 namespace user_manager {
9 11
10 // Delegate to be used with |UserManager::RemoveUser|. 12 // Delegate to be used with |UserManager::RemoveUser|.
11 class RemoveUserDelegate { 13 class USER_MANAGER_EXPORT RemoveUserDelegate {
12 public: 14 public:
13 // Called right before actual user removal process is initiated. 15 // Called right before actual user removal process is initiated.
14 virtual void OnBeforeUserRemoved(const std::string& username) = 0; 16 virtual void OnBeforeUserRemoved(const std::string& username) = 0;
15 17
16 // Called right after user removal process has been initiated. 18 // Called right after user removal process has been initiated.
17 virtual void OnUserRemoved(const std::string& username) = 0; 19 virtual void OnUserRemoved(const std::string& username) = 0;
18 }; 20 };
19 21
20 } // namespace chromeos 22 } // namespace user_manager
21 23
22 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_REMOVE_USER_DELEGATE_H_ 24 #endif // COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/user_manager/DEPS ('k') | components/user_manager/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698