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

Side by Side Diff: ash/test/test_session_state_delegate.cc

Issue 374853002: Providing more information on why certain users can't be added to multi-profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor fix Created 6 years, 4 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
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
OLDNEW
« no previous file with comments | « ash/test/test_session_state_delegate.h ('k') | chrome/app/chromeos_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698