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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/browser/ui/ash/session_state_delegate.h" 5 #include "chrome/browser/ui/ash/session_state_delegate.h"
6 6
7 SessionStateDelegate::SessionStateDelegate() { 7 SessionStateDelegate::SessionStateDelegate() {
8 } 8 }
9 9
10 SessionStateDelegate::~SessionStateDelegate() { 10 SessionStateDelegate::~SessionStateDelegate() {
11 } 11 }
12 12
13 bool SessionStateDelegate::HasActiveUser() const { 13 bool SessionStateDelegate::NumberOfLoggedInUsers() const {
14 return true; 14 return 1;
15 } 15 }
16 16
17 bool SessionStateDelegate::IsActiveUserSessionStarted() const { 17 bool SessionStateDelegate::IsActiveUserSessionStarted() const {
18 return true; 18 return true;
19 } 19 }
20 20
21 bool SessionStateDelegate::CanLockScreen() const { 21 bool SessionStateDelegate::CanLockScreen() const {
22 return false; 22 return false;
23 } 23 }
24 24
25 bool SessionStateDelegate::IsScreenLocked() const { 25 bool SessionStateDelegate::IsScreenLocked() const {
26 return false; 26 return false;
27 } 27 }
28 28
29 void SessionStateDelegate::LockScreen() { 29 void SessionStateDelegate::LockScreen() {
30 } 30 }
31 31
32 void SessionStateDelegate::UnlockScreen() { 32 void SessionStateDelegate::UnlockScreen() {
33 } 33 }
34
35 const base::string16 SessionStateDelegate::GetUserDisplayName(
36 ash::MultiProfileIndex index) const {
37 NOTIMPLEMENTED();
38 return "";
39 }
40
41 const std::string SessionStateDelegate::GetUserEmail(
42 ash::MultiProfileIndex index) const {
43 NOTIMPLEMENTED();
44 return "";
45 }
46
47 const gfx::ImageSkia& SessionStateDelegate::GetUserImage(
48 ash::MultiProfileIndex index) const {
49 NOTIMPLEMENTED();
50 // To make the compiler happy.
51 return gfx::ImageSkia();
52 }
53
54 void SessionStateDelegate::GetLoggedInUsers(
55 UserEmailList* users) {
56 NOTIMPLEMENTED();
57 }
58
59 void SessionStateDelegate::SwitchActiveUser(const std::string& email) {
60 NOTIMPLEMENTED();
61 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698