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 "ash/test/test_session_state_delegate.h" | 5 #include "ash/test/test_session_state_delegate.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 return; | 220 return; |
221 } | 221 } |
222 } | 222 } |
223 NOTREACHED() << "Unknown user:" << user_id; | 223 NOTREACHED() << "Unknown user:" << user_id; |
224 } | 224 } |
225 | 225 |
226 void TestSessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { | 226 void TestSessionStateDelegate::CycleActiveUser(CycleUser cycle_user) { |
227 SwitchActiveUser("someone@tray"); | 227 SwitchActiveUser("someone@tray"); |
228 } | 228 } |
229 | 229 |
| 230 bool TestSessionStateDelegate::IsMultiProfileAllowedByPrimaryUserPolicy() |
| 231 const { |
| 232 return true; |
| 233 } |
| 234 |
230 void TestSessionStateDelegate::AddSessionStateObserver( | 235 void TestSessionStateDelegate::AddSessionStateObserver( |
231 SessionStateObserver* observer) { | 236 SessionStateObserver* observer) { |
232 } | 237 } |
233 | 238 |
234 void TestSessionStateDelegate::RemoveSessionStateObserver( | 239 void TestSessionStateDelegate::RemoveSessionStateObserver( |
235 SessionStateObserver* observer) { | 240 SessionStateObserver* observer) { |
236 } | 241 } |
237 | 242 |
238 } // namespace test | 243 } // namespace test |
239 } // namespace ash | 244 } // namespace ash |
OLD | NEW |