| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index cffc5a607904950e04e09aaf6b7762e899f8c20a..75d2c5ca8736137cc198e0598aa7709594136293 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -696,7 +696,7 @@ TestingProfile* TestingProfile::AsTestingProfile() {
|
| return this;
|
| }
|
|
|
| -std::string TestingProfile::GetProfileUserName() {
|
| +std::string TestingProfile::GetProfileUserName() const {
|
| return profile_name_;
|
| }
|
|
|
| @@ -824,6 +824,11 @@ PrefService* TestingProfile::GetPrefs() {
|
| return prefs_.get();
|
| }
|
|
|
| +const PrefService* TestingProfile::GetPrefs() const {
|
| + DCHECK(prefs_);
|
| + return prefs_.get();
|
| +}
|
| +
|
| DownloadManagerDelegate* TestingProfile::GetDownloadManagerDelegate() {
|
| return NULL;
|
| }
|
|
|