| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 2f3ecfae95ffdcf8e196491fdea607d5d91bca18..b8c690163a1a51d7705b1ce0844105880ca14ef4 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -628,9 +628,18 @@ HostContentSettingsMap* TestingProfile::GetHostContentSettingsMap() {
|
| host_content_settings_map_ = new HostContentSettingsMap(
|
| GetPrefs(), GetExtensionService(), false);
|
| }
|
| + if (!cookie_content_settings_.get()) {
|
| + cookie_content_settings_ = new CookieContentSettings(
|
| + host_content_settings_map_.get(), GetPrefs(), false);
|
| + }
|
| return host_content_settings_map_.get();
|
| }
|
|
|
| +CookieContentSettings* TestingProfile::GetCookieContentSettings() {
|
| + GetHostContentSettingsMap();
|
| + return cookie_content_settings_.get();
|
| +}
|
| +
|
| GeolocationPermissionContext*
|
| TestingProfile::GetGeolocationPermissionContext() {
|
| if (!geolocation_permission_context_.get()) {
|
|
|