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

Unified Diff: ash/session_state_delegate_stub.cc

Issue 197773004: Move avatar holder code to ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang fix Created 6 years, 9 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 | « ash/session_state_delegate_stub.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session_state_delegate_stub.cc
diff --git a/ash/session_state_delegate_stub.cc b/ash/session_state_delegate_stub.cc
index fea3a56e1369d3aa2cc7c472dc9237430fdcff1f..7fc01da402071a79f67c67504e5895b8eb4b883d 100644
--- a/ash/session_state_delegate_stub.cc
+++ b/ash/session_state_delegate_stub.cc
@@ -17,6 +17,12 @@ SessionStateDelegateStub::SessionStateDelegateStub() : screen_locked_(false) {
SessionStateDelegateStub::~SessionStateDelegateStub() {
}
+content::BrowserContext*
+SessionStateDelegateStub::GetBrowserContextByIndex(
+ MultiProfileIndex index) {
+ return NULL;
+}
+
int SessionStateDelegateStub::GetMaximumNumberOfLoggedInUsers() const {
return 3;
}
@@ -72,11 +78,12 @@ const std::string SessionStateDelegateStub::GetUserID(
}
const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage(
- MultiProfileIndex index) const {
+ content::BrowserContext* context) const {
return null_image_;
}
-void SessionStateDelegateStub::GetLoggedInUsers(UserIdList* users) {
+bool SessionStateDelegateStub::ShouldShowAvatar(aura::Window* window) {
+ return false;
}
void SessionStateDelegateStub::SwitchActiveUser(const std::string& user_id) {
« no previous file with comments | « ash/session_state_delegate_stub.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698