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

Unified Diff: chrome/browser/ui/ash/session_state_delegate_views.cc

Issue 14756019: Adding new user menu section to the SystemTrayMenu & refactoring of user access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
Index: chrome/browser/ui/ash/session_state_delegate_views.cc
diff --git a/chrome/browser/ui/ash/session_state_delegate_views.cc b/chrome/browser/ui/ash/session_state_delegate_views.cc
index e8e4e512b49c0b75ed6268e29448df765452391c..113c0ac7f10793fb0198a1e91b0417113f2dec7d 100644
--- a/chrome/browser/ui/ash/session_state_delegate_views.cc
+++ b/chrome/browser/ui/ash/session_state_delegate_views.cc
@@ -10,8 +10,8 @@ SessionStateDelegate::SessionStateDelegate() {
SessionStateDelegate::~SessionStateDelegate() {
}
-bool SessionStateDelegate::HasActiveUser() const {
- return true;
+bool SessionStateDelegate::NumberOfLoggedInUsers() const {
+ return 1;
}
bool SessionStateDelegate::IsActiveUserSessionStarted() const {
@@ -31,3 +31,31 @@ void SessionStateDelegate::LockScreen() {
void SessionStateDelegate::UnlockScreen() {
}
+
+const base::string16 SessionStateDelegate::GetUserDisplayName(
+ ash::MultiProfileIndex index) const {
+ NOTIMPLEMENTED();
+ return "";
+}
+
+const std::string SessionStateDelegate::GetUserEmail(
+ ash::MultiProfileIndex index) const {
+ NOTIMPLEMENTED();
+ return "";
+}
+
+const gfx::ImageSkia& SessionStateDelegate::GetUserImage(
+ ash::MultiProfileIndex index) const {
+ NOTIMPLEMENTED();
+ // To make the compiler happy.
+ return gfx::ImageSkia();
+}
+
+void SessionStateDelegate::GetLoggedInUsers(
+ UserEmailList* users) {
+ NOTIMPLEMENTED();
+}
+
+void SessionStateDelegate::SwitchActiveUser(const std::string& email) {
+ NOTIMPLEMENTED();
+}

Powered by Google App Engine
This is Rietveld 408576698