| Index: chrome/browser/profile.cc
|
| diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
|
| index dc5eb19a9e9b0f625b8ce64558144ba109ae6372..5801dadf1ef80bb72303cc791841d5e5aac105a6 100644
|
| --- a/chrome/browser/profile.cc
|
| +++ b/chrome/browser/profile.cc
|
| @@ -28,6 +28,7 @@
|
| #include "chrome/browser/extensions/extensions_service.h"
|
| #include "chrome/browser/extensions/user_script_master.h"
|
| #include "chrome/browser/favicon_service.h"
|
| +#include "chrome/browser/geolocation/geolocation_content_settings_map.h"
|
| #include "chrome/browser/spellcheck_host.h"
|
| #include "chrome/browser/transport_security_persister.h"
|
| #include "chrome/browser/history/history.h"
|
| @@ -407,6 +408,10 @@ class OffTheRecordProfileImpl : public Profile,
|
| return profile_->GetHostZoomMap();
|
| }
|
|
|
| + virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() {
|
| + return profile_->GetGeolocationContentSettingsMap();
|
| + }
|
| +
|
| virtual Blacklist* GetPrivacyBlacklist() {
|
| return profile_->GetPrivacyBlacklist();
|
| }
|
| @@ -984,6 +989,12 @@ HostZoomMap* ProfileImpl::GetHostZoomMap() {
|
| return host_zoom_map_.get();
|
| }
|
|
|
| +GeolocationContentSettingsMap* ProfileImpl::GetGeolocationContentSettingsMap() {
|
| + if (!geolocation_content_settings_map_.get())
|
| + geolocation_content_settings_map_ = new GeolocationContentSettingsMap(this);
|
| + return geolocation_content_settings_map_.get();
|
| +}
|
| +
|
| Blacklist* ProfileImpl::GetPrivacyBlacklist() {
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnablePrivacyBlacklists))
|
|
|