diff options
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index c94b38c..802ad29 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" @@ -408,6 +409,10 @@ class OffTheRecordProfileImpl : public Profile, return profile_->GetHostZoomMap(); } + virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() { + return profile_->GetGeolocationContentSettingsMap(); + } + virtual Blacklist* GetPrivacyBlacklist() { return profile_->GetPrivacyBlacklist(); } @@ -987,6 +992,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)) |