OLD | NEW |
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_views.h" | 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void SessionStateDelegate::LockScreen() { | 59 void SessionStateDelegate::LockScreen() { |
60 } | 60 } |
61 | 61 |
62 void SessionStateDelegate::UnlockScreen() { | 62 void SessionStateDelegate::UnlockScreen() { |
63 } | 63 } |
64 | 64 |
65 bool SessionStateDelegate::IsUserSessionBlocked() const { | 65 bool SessionStateDelegate::IsUserSessionBlocked() const { |
66 return false; | 66 return false; |
67 } | 67 } |
68 | 68 |
| 69 ash::SessionStateDelegate::SessionState SessionStateDelegate::GetSessionState() |
| 70 const { |
| 71 return SESSION_STATE_ACTIVE; |
| 72 } |
| 73 |
69 const base::string16 SessionStateDelegate::GetUserDisplayName( | 74 const base::string16 SessionStateDelegate::GetUserDisplayName( |
70 ash::MultiProfileIndex index) const { | 75 ash::MultiProfileIndex index) const { |
71 NOTIMPLEMENTED(); | 76 NOTIMPLEMENTED(); |
72 return base::UTF8ToUTF16(""); | 77 return base::UTF8ToUTF16(""); |
73 } | 78 } |
74 | 79 |
75 const base::string16 SessionStateDelegate::GetUserGivenName( | 80 const base::string16 SessionStateDelegate::GetUserGivenName( |
76 ash::MultiProfileIndex index) const { | 81 ash::MultiProfileIndex index) const { |
77 NOTIMPLEMENTED(); | 82 NOTIMPLEMENTED(); |
78 return base::UTF8ToUTF16(""); | 83 return base::UTF8ToUTF16(""); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 116 |
112 void SessionStateDelegate::AddSessionStateObserver( | 117 void SessionStateDelegate::AddSessionStateObserver( |
113 ash::SessionStateObserver* observer) { | 118 ash::SessionStateObserver* observer) { |
114 NOTIMPLEMENTED(); | 119 NOTIMPLEMENTED(); |
115 } | 120 } |
116 | 121 |
117 void SessionStateDelegate::RemoveSessionStateObserver( | 122 void SessionStateDelegate::RemoveSessionStateObserver( |
118 ash::SessionStateObserver* observer) { | 123 ash::SessionStateObserver* observer) { |
119 NOTIMPLEMENTED(); | 124 NOTIMPLEMENTED(); |
120 } | 125 } |
OLD | NEW |