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

Unified Diff: chrome/browser/policy/profile_policy_connector_factory.cc

Issue 898003002: [Cleanup] Const-correct the profile() method for the EasyUnlockService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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_factory.cc
diff --git a/chrome/browser/policy/profile_policy_connector_factory.cc b/chrome/browser/policy/profile_policy_connector_factory.cc
index 5d5c45c91e1e19754269a9bec14f0175b465e0ff..5c2cb666bca537a3d01f7fcc843f0e50abb3d66b 100644
--- a/chrome/browser/policy/profile_policy_connector_factory.cc
+++ b/chrome/browser/policy/profile_policy_connector_factory.cc
@@ -109,7 +109,7 @@ ProfilePolicyConnectorFactory::CreateForBrowserContextInternal(
#if defined(OS_CHROMEOS)
Profile* const profile = Profile::FromBrowserContext(context);
- user_manager::User* user = NULL;
+ const user_manager::User* user = NULL;
if (!chromeos::ProfileHelper::IsSigninProfile(profile)) {
user = chromeos::ProfileHelper::Get()->GetUserByProfile(profile);
CHECK(user);
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_helper.cc ('k') | chrome/browser/policy/schema_registry_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698