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

Unified Diff: chrome/browser/signin/easy_unlock_service.h

Issue 898003002: [Cleanup] Const-correct the profile() method for the EasyUnlockService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/signin/easy_unlock_service.h
diff --git a/chrome/browser/signin/easy_unlock_service.h b/chrome/browser/signin/easy_unlock_service.h
index caaa460557640140c0f126eb05ba981078bb2704..31d8b7006b40070bd2843752ad62362753416644 100644
--- a/chrome/browser/signin/easy_unlock_service.h
+++ b/chrome/browser/signin/easy_unlock_service.h
@@ -198,7 +198,8 @@ class EasyUnlockService : public KeyedService {
void Shutdown() override;
// Exposes the profile to which the service is attached to subclasses.
- Profile* profile() const { return profile_; }
+ const Profile* profile() const { return profile_; }
+ Profile* profile() { return profile_; }
// Installs the Easy unlock component app if it isn't installed and enables
// the app if it is disabled.

Powered by Google App Engine
This is Rietveld 408576698