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" |
11 | 11 |
12 namespace { | |
13 // This isn't really used. It is mainly here to make the compiler happy. | |
14 gfx::ImageSkia null_image; | |
15 } | |
16 | |
17 SessionStateDelegate::SessionStateDelegate() { | 12 SessionStateDelegate::SessionStateDelegate() { |
18 } | 13 } |
19 | 14 |
20 SessionStateDelegate::~SessionStateDelegate() { | 15 SessionStateDelegate::~SessionStateDelegate() { |
21 } | 16 } |
22 | 17 |
23 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { | 18 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { |
24 return 3; | 19 return 3; |
25 } | 20 } |
26 | 21 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 const std::string SessionStateDelegate::GetUserEmail( | 54 const std::string SessionStateDelegate::GetUserEmail( |
60 ash::MultiProfileIndex index) const { | 55 ash::MultiProfileIndex index) const { |
61 NOTIMPLEMENTED(); | 56 NOTIMPLEMENTED(); |
62 return ""; | 57 return ""; |
63 } | 58 } |
64 | 59 |
65 const gfx::ImageSkia& SessionStateDelegate::GetUserImage( | 60 const gfx::ImageSkia& SessionStateDelegate::GetUserImage( |
66 ash::MultiProfileIndex index) const { | 61 ash::MultiProfileIndex index) const { |
67 NOTIMPLEMENTED(); | 62 NOTIMPLEMENTED(); |
68 // To make the compiler happy. | 63 // To make the compiler happy. |
69 return null_image; | 64 return null_image_; |
70 } | 65 } |
71 | 66 |
72 void SessionStateDelegate::GetLoggedInUsers(ash::UserIdList* users) { | 67 void SessionStateDelegate::GetLoggedInUsers(ash::UserIdList* users) { |
73 NOTIMPLEMENTED(); | 68 NOTIMPLEMENTED(); |
74 } | 69 } |
75 | 70 |
76 void SessionStateDelegate::SwitchActiveUser(const std::string& user_email) { | 71 void SessionStateDelegate::SwitchActiveUser(const std::string& user_email) { |
77 NOTIMPLEMENTED(); | 72 NOTIMPLEMENTED(); |
78 } | 73 } |
79 | 74 |
80 void SessionStateDelegate::SwitchActiveUserToNext() { | 75 void SessionStateDelegate::SwitchActiveUserToNext() { |
81 NOTIMPLEMENTED(); | 76 NOTIMPLEMENTED(); |
82 } | 77 } |
83 | 78 |
84 void SessionStateDelegate::AddSessionStateObserver( | 79 void SessionStateDelegate::AddSessionStateObserver( |
85 ash::SessionStateObserver* observer) { | 80 ash::SessionStateObserver* observer) { |
86 NOTIMPLEMENTED(); | 81 NOTIMPLEMENTED(); |
87 } | 82 } |
88 | 83 |
89 void SessionStateDelegate::RemoveSessionStateObserver( | 84 void SessionStateDelegate::RemoveSessionStateObserver( |
90 ash::SessionStateObserver* observer) { | 85 ash::SessionStateObserver* observer) { |
91 NOTIMPLEMENTED(); | 86 NOTIMPLEMENTED(); |
92 } | 87 } |
OLD | NEW |