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

Unified Diff: chrome/browser/chromeos/policy/recommendation_restorer.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/policy/recommendation_restorer.cc
diff --git a/chrome/browser/chromeos/policy/recommendation_restorer.cc b/chrome/browser/chromeos/policy/recommendation_restorer.cc
index aaf19e08b155627ae23fe08d63688e0877dd52e6..afd7456cfa149e64e09fb3f18a9c9a596eb7e8cd 100644
--- a/chrome/browser/chromeos/policy/recommendation_restorer.cc
+++ b/chrome/browser/chromeos/policy/recommendation_restorer.cc
@@ -30,7 +30,7 @@ const int kRestoreDelayInMs = 60 * 1000; // 1 minute.
RecommendationRestorer::RecommendationRestorer(Profile* profile)
: logged_in_(false) {
- if (!chromeos::ProfileHelper::IsSigninProfile(profile))
+ if (!profile->IsLoginProfile())
return;
pref_change_registrar_.Init(profile->GetPrefs());

Powered by Google App Engine
This is Rietveld 408576698