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

Unified Diff: chrome/test/base/testing_profile.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: 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/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 9b6faacad189d02e9484876cc3d88bd9ae66509f..79a2e3b3d43b1e7e527b0aa5bd47026b22770745 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -237,7 +237,7 @@ class TestingProfile : public Profile {
TestingProfile* AsTestingProfile() override;
// Profile
- std::string GetProfileUserName() override;
+ std::string GetProfileUserName() const override;
ProfileType GetProfileType() const override;
// DEPRECATED, because it's fragile to change a profile from non-incognito
@@ -275,6 +275,7 @@ class TestingProfile : public Profile {
net::CookieMonster* GetCookieMonster();
PrefService* GetPrefs() override;
+ const PrefService* GetPrefs() const override;
net::URLRequestContextGetter* GetMediaRequestContext() override;
net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698