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

Unified Diff: chrome/browser/policy/profile_policy_connector.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/policy/profile_policy_connector.cc
diff --git a/chrome/browser/policy/profile_policy_connector.cc b/chrome/browser/policy/profile_policy_connector.cc
index fae3b36af7ff91d9f4b2d07463f7dc97fbc9f249..e030e1113beabc7611e08863dcda78e47fa00366 100644
--- a/chrome/browser/policy/profile_policy_connector.cc
+++ b/chrome/browser/policy/profile_policy_connector.cc
@@ -59,7 +59,7 @@ void ProfilePolicyConnector::Init(bool force_immediate_load) {
bool allow_trusted_certs_from_policy = false;
chromeos::User* user = NULL;
- if (chromeos::ProfileHelper::IsSigninProfile(profile_)) {
+ if (profile_->IsLoginProfile()) {
special_user_policy_provider_.reset(new LoginProfilePolicyProvider(
connector->GetPolicyService()));
special_user_policy_provider_->Init();

Powered by Google App Engine
This is Rietveld 408576698