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

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

Issue 600733004: Rename GetUsersAdmittedForMultiProfile to GetUsersAllowedForMultiProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 98547892021b1f89214d7eb88c9e4ddd926b8135..3d47b36766ba9413f1314c52c1b1f76893f04744 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -50,9 +50,8 @@ bool ChromeShellDelegate::IsMultiProfilesEnabled() const {
// simultaneous users to allow this feature.
if (!user_manager::UserManager::IsInitialized())
return false;
- size_t admitted_users_to_be_added = user_manager::UserManager::Get()
- ->GetUsersAdmittedForMultiProfile()
- .size();
+ size_t admitted_users_to_be_added =
+ user_manager::UserManager::Get()->GetUsersAllowedForMultiProfile().size();
size_t logged_in_users =
user_manager::UserManager::Get()->GetLoggedInUsers().size();
if (!logged_in_users) {

Powered by Google App Engine
This is Rietveld 408576698