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

Unified Diff: components/user_manager/user_info.h

Issue 379803004: Move UserInfo to user_manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/empty_user_info.cc ('k') | components/user_manager/user_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/user_manager/user_info.h
diff --git a/ash/session/user_info.h b/components/user_manager/user_info.h
similarity index 75%
rename from ash/session/user_info.h
rename to components/user_manager/user_info.h
index 59a4cf489b612f0f71667e03e4296a9c7df7de9a..9540946885594dce7507be5f24b89573f2859f8f 100644
--- a/ash/session/user_info.h
+++ b/components/user_manager/user_info.h
@@ -2,24 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_SESSION_USER_INFO_H_
-#define ASH_SESSION_USER_INFO_H_
+#ifndef COMPONENTS_USER_MANAGER_USER_INFO_H_
+#define COMPONENTS_USER_MANAGER_USER_INFO_H_
#include <string>
-#include "ash/ash_export.h"
#include "base/strings/string16.h"
+#include "components/user_manager/user_manager_export.h"
namespace gfx {
class ImageSkia;
}
-namespace ash {
+namespace user_manager {
// A class that represents user related info.
-class ASH_EXPORT UserInfo {
+class USER_MANAGER_EXPORT UserInfo {
public:
- virtual ~UserInfo() {}
+ UserInfo();
+ virtual ~UserInfo();
// Gets the display name for the user.
virtual base::string16 GetDisplayName() const = 0;
@@ -40,6 +41,6 @@ class ASH_EXPORT UserInfo {
virtual const gfx::ImageSkia& GetImage() const = 0;
};
-} // namespace ash
+} // namespace user_manager
-#endif // ASH_SESSION_USER_INFO_H_
+#endif // COMPONENTS_USER_MANAGER_USER_INFO_H_
« no previous file with comments | « components/user_manager/empty_user_info.cc ('k') | components/user_manager/user_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698