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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/user_manager/DEPS ('k') | components/user_manager/user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/remove_user_delegate.h
diff --git a/chrome/browser/chromeos/login/users/remove_user_delegate.h b/components/user_manager/remove_user_delegate.h
similarity index 60%
rename from chrome/browser/chromeos/login/users/remove_user_delegate.h
rename to components/user_manager/remove_user_delegate.h
index efdb7eed7b85c7b5559015e18a763c21fb86692d..1077bda527fa6f11b4c82c43e7dd113d9d125bd8 100644
--- a/chrome/browser/chromeos/login/users/remove_user_delegate.h
+++ b/components/user_manager/remove_user_delegate.h
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_REMOVE_USER_DELEGATE_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_REMOVE_USER_DELEGATE_H_
+#ifndef COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
+#define COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
-namespace chromeos {
+#include "components/user_manager/user_manager_export.h"
+
+namespace user_manager {
// Delegate to be used with |UserManager::RemoveUser|.
-class RemoveUserDelegate {
+class USER_MANAGER_EXPORT RemoveUserDelegate {
public:
// Called right before actual user removal process is initiated.
virtual void OnBeforeUserRemoved(const std::string& username) = 0;
@@ -17,6 +19,6 @@ class RemoveUserDelegate {
virtual void OnUserRemoved(const std::string& username) = 0;
};
-} // namespace chromeos
+} // namespace user_manager
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_USERS_REMOVE_USER_DELEGATE_H_
+#endif // COMPONENTS_USER_MANAGER_REMOVE_USER_DELEGATE_H_
« 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