Index: chrome/browser/profiles/off_the_record_profile_impl.h |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.h b/chrome/browser/profiles/off_the_record_profile_impl.h |
index a60358c1128786d91272fa323294face8e650350..db8650774632da0b33a2bfc7270fb15d5b6711f1 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.h |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.h |
@@ -37,7 +37,7 @@ class OffTheRecordProfileImpl : public Profile { |
void Init(); |
// Profile implementation. |
- std::string GetProfileUserName() override; |
+ std::string GetProfileUserName() const override; |
ProfileType GetProfileType() const override; |
Profile* GetOffTheRecordProfile() override; |
void DestroyOffTheRecordProfile() override; |
@@ -48,6 +48,7 @@ class OffTheRecordProfileImpl : public Profile { |
bool IsLegacySupervised() override; |
ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
PrefService* GetPrefs() override; |
+ const PrefService* GetPrefs() const override; |
PrefService* GetOffTheRecordPrefs() override; |
net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
net::URLRequestContextGetter* CreateRequestContext( |