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

Unified Diff: components/session_manager/session_manager_types.h

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
« no previous file with comments | « components/session_manager/core/session_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/session_manager/session_manager_types.h
diff --git a/components/session_manager/session_manager_types.h b/components/session_manager/session_manager_types.h
index 92e72a87f06f25593635dfa73ea972ddbe7e3f35..5a88b4e7d89c2c461008efb6e8e5ef2385d1c52f 100644
--- a/components/session_manager/session_manager_types.h
+++ b/components/session_manager/session_manager_types.h
@@ -48,6 +48,9 @@ struct Session {
AccountId user_account_id;
};
+// Limits the number of logged in users to 10 due to memory constraints.
+constexpr int kMaxmiumNumberOfUserSessions = 10;
+
} // namespace session_manager
#endif // COMPONENTS_SESSION_MANAGER_SESSION_MANAGER_TYPES_H_
« no previous file with comments | « components/session_manager/core/session_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698