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

Unified Diff: chrome/browser/chromeos/platform_keys/platform_keys_nss.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/chromeos/platform_keys/platform_keys_nss.cc
diff --git a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
index 978f1159a37f207e3f423299d7f192ba427e5813..33b950463f203b89453c29e3ab2c2012f5f79bdc 100644
--- a/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
+++ b/chrome/browser/chromeos/platform_keys/platform_keys_nss.cc
@@ -756,8 +756,9 @@ void SelectClientCertificates(const ClientCertificateRequest& request,
cert_request_info->cert_key_types = request.certificate_key_types;
cert_request_info->cert_authorities = request.certificate_authorities;
- user_manager::User* user = chromeos::ProfileHelper::Get()->GetUserByProfile(
- Profile::FromBrowserContext(browser_context));
+ const user_manager::User* user =
+ chromeos::ProfileHelper::Get()->GetUserByProfile(
+ Profile::FromBrowserContext(browser_context));
// Use the device-wide system key slot only if the user is of the same
// domain as the device is registered to.

Powered by Google App Engine
This is Rietveld 408576698