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

Unified Diff: ash/session/session_state_delegate.h

Issue 560033002: Fixed suggesting adding more users into multi-profile session when we don't have more (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: ash/session/session_state_delegate.h
diff --git a/ash/session/session_state_delegate.h b/ash/session/session_state_delegate.h
index c1c07137105fede9e833dff7e3aef703dcb2ea0d..af5a1038d2745f4542d30717cc862186211cb82c 100644
--- a/ash/session/session_state_delegate.h
+++ b/ash/session/session_state_delegate.h
@@ -82,6 +82,9 @@ class ASH_EXPORT SessionStateDelegate {
// no session in progress or no active user.
virtual int NumberOfLoggedInUsers() const = 0;
+ // Returns number of users admitted for logging in into multi-profile session.
+ virtual int GetNumberOfAdmittedForMultiProfileUsers() const = 0;
dzhioev (left Google) 2014/09/18 07:14:22 I think "GetNumberOfUsersAdmittedForMultiProfile"
Roman Sorokin (ftl) 2014/09/22 08:36:06 Done.
+
// Returns |true| if the session has been fully started for the active user.
// When a user becomes active, the profile and browser UI are not immediately
// available. Only once this method starts returning |true| is the browser

Powered by Google App Engine
This is Rietveld 408576698