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 "components/user_manager/empty_user_info.h" | 10 #include "components/user_manager/empty_user_info.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) const { | 65 bool SessionStateDelegate::ShouldShowAvatar(aura::Window* window) const { |
66 return false; | 66 return false; |
67 } | 67 } |
68 | 68 |
69 gfx::ImageSkia SessionStateDelegate::GetAvatarImageForWindow( | 69 gfx::ImageSkia SessionStateDelegate::GetAvatarImageForWindow( |
70 aura::Window* window) const { | 70 aura::Window* window) const { |
71 return gfx::ImageSkia(); | 71 return gfx::ImageSkia(); |
72 } | 72 } |
73 | 73 |
74 void SessionStateDelegate::SwitchActiveUser(const std::string& user_id) { | 74 void SessionStateDelegate::SwitchActiveUser(const AccountId& account_id) { |
75 NOTIMPLEMENTED(); | 75 NOTIMPLEMENTED(); |
76 } | 76 } |
77 | 77 |
78 void SessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { | 78 void SessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { |
79 NOTIMPLEMENTED(); | 79 NOTIMPLEMENTED(); |
80 } | 80 } |
81 | 81 |
82 bool SessionStateDelegate::IsMultiProfileAllowedByPrimaryUserPolicy() const { | 82 bool SessionStateDelegate::IsMultiProfileAllowedByPrimaryUserPolicy() const { |
83 return true; | 83 return true; |
84 } | 84 } |
85 | 85 |
86 void SessionStateDelegate::AddSessionStateObserver( | 86 void SessionStateDelegate::AddSessionStateObserver( |
87 ash::SessionStateObserver* observer) { | 87 ash::SessionStateObserver* observer) { |
88 NOTIMPLEMENTED(); | 88 NOTIMPLEMENTED(); |
89 } | 89 } |
90 | 90 |
91 void SessionStateDelegate::RemoveSessionStateObserver( | 91 void SessionStateDelegate::RemoveSessionStateObserver( |
92 ash::SessionStateObserver* observer) { | 92 ash::SessionStateObserver* observer) { |
93 NOTIMPLEMENTED(); | 93 NOTIMPLEMENTED(); |
94 } | 94 } |
OLD | NEW |