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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.cc

Issue 53383002: ChromeOS: Remove ProfileHelper::IsSigninProfile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TestingProfile. Created 7 years, 2 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/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index e332863a813b1f1d7b9fed0a3fbe79dc075d7f90..fc4f2a98009e685bcdb54d4bcbd1d07b8577f7a3 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -559,7 +559,7 @@ const User* UserManagerImpl::GetPrimaryUser() const {
User* UserManagerImpl::GetUserByProfile(Profile* profile) const {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
- if (ProfileHelper::IsSigninProfile(profile))
+ if (profile->IsLoginProfile())
return NULL;
if (IsMultipleProfilesAllowed()) {

Powered by Google App Engine
This is Rietveld 408576698