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

Unified Diff: chrome/browser/ui/ash/session_state_delegate_chromeos.cc

Issue 2637403007: cros: Change max users to be a constant (Closed)
Patch Set: fix test Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/session_state_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/session_state_delegate_chromeos.cc b/chrome/browser/ui/ash/session_state_delegate_chromeos.cc
index 5a69762161f8b723495e1d8ba1ae0825de31effd..c974a8770d7ee28f51f1f1859be62aba4816329b 100644
--- a/chrome/browser/ui/ash/session_state_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/session_state_delegate_chromeos.cc
@@ -66,7 +66,7 @@ int SessionStateDelegateChromeos::GetMaximumNumberOfLoggedInUsers() const {
// actually added to a session.
// TODO(nkostylev): Adjust this limitation based on device capabilites.
// http://crbug.com/230865
- return 10;
+ return session_manager::kMaxmiumNumberOfUserSessions;
}
int SessionStateDelegateChromeos::NumberOfLoggedInUsers() const {
« no previous file with comments | « chrome/browser/ui/ash/session_controller_client.cc ('k') | chrome/browser/ui/ash/system_tray_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698