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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.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: 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/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index b2202e7dbc8ebee693002d0034bfec62161fdf0c..6c6a48ce6259e50e6330a415209e2b5559680936 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -298,6 +298,10 @@ PrefService* OffTheRecordProfileImpl::GetPrefs() {
return prefs_;
}
+const PrefService* OffTheRecordProfileImpl::GetPrefs() const {
+ return prefs_;
+}
+
PrefService* OffTheRecordProfileImpl::GetOffTheRecordPrefs() {
return prefs_;
}

Powered by Google App Engine
This is Rietveld 408576698